From f2ba02843a11149a76ada73fa3137d9dc61e6aae Mon Sep 17 00:00:00 2001 From: wei <> Date: Wed, 16 May 2007 04:32:24 +0000 Subject: add requestDispatched property for Prado.WebUI.TActiveCustomValidator js --- framework/Web/Javascripts/source/prado/validator/validation3.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'framework') 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); } -- cgit v1.2.3