diff --git a/lam/templates/lib/141_jquery-validationEngine-lang.php b/lam/templates/lib/141_jquery-validationEngine-lang.php index 80bcfa0f..f90406ea 100644 --- a/lam/templates/lib/141_jquery-validationEngine-lang.php +++ b/lam/templates/lib/141_jquery-validationEngine-lang.php @@ -3,7 +3,7 @@ This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) Copyright (C) 2010 Cedric Dugas and Olivier Refalo - 2011 - 2018 Roland Gruber + 2011 - 2019 Roland Gruber This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,13 +29,13 @@ if (strtolower(session_module_name()) == 'files') { session_save_path(dirname(__FILE__) . '/../../sess'); } -if (!headers_sent()) { - header('Content-Type: application/json; charset=utf-8'); -} - @lam_start_session(); setlanguage(); +if (!headers_sent()) { + header('Content-Type: application/javascript; charset=utf-8'); +} + ?> (function($){