diff options
author | Christophe.Boulain <> | 2010-01-14 11:29:33 +0000 |
---|---|---|
committer | Christophe.Boulain <> | 2010-01-14 11:29:33 +0000 |
commit | 10b1f048ceca6d875000335056dc6ef2f2a6bfe4 (patch) | |
tree | 589114f2878ed176e3499ecd8f01b0aefd8fa2c1 /framework/Web/Javascripts | |
parent | 4bc4865df8316152f758219395627618865ba80f (diff) |
Fixed Issue#80
Diffstat (limited to 'framework/Web/Javascripts')
-rw-r--r-- | framework/Web/Javascripts/source/prado/validator/validation3.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/Javascripts/source/prado/validator/validation3.js b/framework/Web/Javascripts/source/prado/validator/validation3.js index afec8e15..b1bf1a03 100644 --- a/framework/Web/Javascripts/source/prado/validator/validation3.js +++ b/framework/Web/Javascripts/source/prado/validator/validation3.js @@ -1707,7 +1707,7 @@ Prado.WebUI.TRegularExpressionValidator = Class.extend(Prado.WebUI.TBaseValidato if (value.length <= 0)
return true;
- var rx = new RegExp(this.options.ValidationExpression,this.options.PatternModifiers);
+ var rx = new RegExp('^'+this.options.ValidationExpression+'$',this.options.PatternModifiers);
var matches = rx.exec(value);
return (matches != null && value == matches[0]);
}
|