summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts
diff options
context:
space:
mode:
authortof <>2008-10-13 15:29:01 +0000
committertof <>2008-10-13 15:29:01 +0000
commit7bc7bfe01d2dbf835130cbe579d15c0f5b647c55 (patch)
treeae120ebde77a3cd2d97184dd28c8623a978503c7 /framework/Web/Javascripts
parent6967127b27f56b6c12d6df6c48e0800cb3c4156f (diff)
Fixed #845
Diffstat (limited to 'framework/Web/Javascripts')
-rw-r--r--framework/Web/Javascripts/source/prado/validator/validation3.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/Web/Javascripts/source/prado/validator/validation3.js b/framework/Web/Javascripts/source/prado/validator/validation3.js
index c9dba7a1..dc7798bb 100644
--- a/framework/Web/Javascripts/source/prado/validator/validation3.js
+++ b/framework/Web/Javascripts/source/prado/validator/validation3.js
@@ -1847,6 +1847,8 @@ Prado.WebUI.TCaptchaValidator = Class.extend(Prado.WebUI.TBaseValidator,
{
var a = this.getValidationValue();
var h = 0;
+ if (this.options.CaseSensitive==false)
+ a = a.toUpperCase();
for(var i = a.length-1; i >= 0; --i)
h += a.charCodeAt(i);
return h == this.options.TokenHash;