This commit is contained in:
Roland Gruber 2012-10-12 17:38:20 +00:00
parent 3905983676
commit 4cd4410a64
1 changed files with 4 additions and 4 deletions

View File

@ -3,8 +3,8 @@
$Id$ $Id$
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/) This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
Copyright (C) 2010 Cedric Dugas and Olivier Refalo Copyright (C) 2010 Cedric Dugas and Olivier Refalo
2011 Roland Gruber 2011 - 2012 Roland Gruber
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
@ -31,7 +31,7 @@ $Id$
$.validationEngineLanguage.allRules = { $.validationEngineLanguage.allRules = {
"required": { "required": {
"regex": "none", "regex": "none",
"alertText": "<?php echo _('This field is required.'); ?>", "alertText": "<?php echo _('This field is required.'); ?>"
}, },
"numeric": { "numeric": {
"regex": /^[0-9]+$/, "regex": /^[0-9]+$/,
@ -41,4 +41,4 @@ $Id$
} }
}; };
$.validationEngineLanguage.newLang(); $.validationEngineLanguage.newLang();
})(jQuery); })(jQuery);