summaryrefslogtreecommitdiff
path: root/framework/Web/Javascripts/source
diff options
context:
space:
mode:
authorwei <>2007-05-16 04:32:24 +0000
committerwei <>2007-05-16 04:32:24 +0000
commitf2ba02843a11149a76ada73fa3137d9dc61e6aae (patch)
tree307cf5a8cde8e6498dac3b2f616ba6bc7fc0a806 /framework/Web/Javascripts/source
parentec7abcfea5295c0c1c54522026f88eb0768521ba (diff)
add requestDispatched property for Prado.WebUI.TActiveCustomValidator js
Diffstat (limited to 'framework/Web/Javascripts/source')
-rw-r--r--framework/Web/Javascripts/source/prado/validator/validation3.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/Web/Javascripts/source/prado/validator/validation3.js b/framework/Web/Javascripts/source/prado/validator/validation3.js
index b7793d49..fe496ed9 100644
--- a/framework/Web/Javascripts/source/prado/validator/validation3.js
+++ b/framework/Web/Javascripts/source/prado/validator/validation3.js
@@ -1158,7 +1158,7 @@ Prado.WebUI.TActiveCustomValidator = Class.extend(Prado.WebUI.TBaseValidator,
request.options.onSuccess = this.callbackOnSuccess.bind(this);
request.options.onFailure = this.callbackOnFailure.bind(this);
request.dispatch();
-// this.requestDispatched = true;
+ this.requestDispatched = true;
return false;
}
return this.isValid;
@@ -1167,7 +1167,7 @@ Prado.WebUI.TActiveCustomValidator = Class.extend(Prado.WebUI.TBaseValidator,
callbackOnSuccess : function(request, data)
{
this.isValid = data;
-// this.requestDispatched = false;
+ this.requestDispatched = false;
if(typeof(this.options.onSuccess) == "function")
this.options.onSuccess(request,data);
this.updateValidationDisplay();
@@ -1175,7 +1175,7 @@ Prado.WebUI.TActiveCustomValidator = Class.extend(Prado.WebUI.TBaseValidator,
callbackOnFailure : function(request, data)
{
-// this.requestDispatched = false;
+ this.requestDispatched = false;
if(typeof(this.options.onFailure) == "function")
this.options.onFailure(request,data);
}