summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole
diff options
context:
space:
mode:
authordanigm <danigm@wadobo.com>2011-03-28 09:14:47 +0000
committerdanigm <danigm@wadobo.com>2011-03-28 09:14:47 +0000
commita7125bfb2ca911a2a13d0b33d3a2edc45691e7e5 (patch)
treea39ee0c1f7d79a74624ffd36bee347ae5279bde6 /admin/WebConsole
parent5bcb6d1c67d271326bf5740e2de3d0af3ac1375f (diff)
Arregladas expresiones regulares en la validaciĆ³n
git-svn-id: https://opengnsys.es/svn/branches/version1.0@1640 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole')
-rw-r--r--admin/WebConsole/jscripts/validators.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/WebConsole/jscripts/validators.js b/admin/WebConsole/jscripts/validators.js
index d9afb0f0..f99f9ff7 100644
--- a/admin/WebConsole/jscripts/validators.js
+++ b/admin/WebConsole/jscripts/validators.js
@@ -23,15 +23,15 @@ function validate_expr(value, epx) {
}
function validate_number(value) {
- return validate_expr(value, "^\d*$");
+ return validate_expr(value, "^\\d*$");
}
function validate_alphanum(value) {
- return validate_expr(value, "^\w*$");
+ return validate_expr(value, "^\\w*$");
}
function validate_notnull(value) {
- return validate_expr(value, "^.+$") && !validate_expr(value, "^\s*0\s*$");
+ return validate_expr(value, "^.+$") && !validate_expr(value, "^\\s*0\\s*$");
}
function validate_number_notnull(value) {