summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2007-06-21 01:16:52 +0000
committerxue <>2007-06-21 01:16:52 +0000
commit725cb38eaaee72ba27bef696dbf1db81486e11e2 (patch)
treeeba5ff82f2c1c09aa126b4a0fb76ab77b3762229
parentefd58a6761c92e688d1670767efa4986f013d081 (diff)
Fixed #488, #620, #632, #633.
-rw-r--r--HISTORY6
-rw-r--r--framework/Web/Javascripts/source/prado/validator/validation3.js20
2 files changed, 14 insertions, 12 deletions
diff --git a/HISTORY b/HISTORY
index 45b4a427..d1aa51ed 100644
--- a/HISTORY
+++ b/HISTORY
@@ -6,18 +6,20 @@ BUG: Ticket#650 - Fixed TMysqlMetaData bug about SHOW FULL TABLES (Qiang)
BUG: Ticket#651 - TUserManager Roles names (from config) should be trimmed (Qiang)
BUG: Ticket#652 - OFFSET must be specified together with LIMIT for TScaffoldView (Qiang)
BUG: Ticket#653 - TUrlMapping: ServiceId irgnored in URL-Map (Qiang)
+BUG: Ticket#488 - TActiveCustomValidator Is Bypassing My Callback (Wei)
+BUG: Ticket#620 - PRADO should not take over all of Prototype's Callbacks (Wei)
BUG: TWizard Sidebar using TDataListItemRenderer has error (Qiang)
BUG: TOutputCache crashes when a default button is set (Qiang)
BUG: Fix the bug that <include> tag was ignored in page configurations (Qiang)
BUG: Ticket#654 - TAssetManager::copyDirectory() do not run closedir on an invalid resource (Knut)
BUG: Ticket#655 - TAssetManager::publishTarFile() exception for 'assetmanager_tarchecksum_invalid' is not thrown on BSD systems (Knut)
+BUG: Ticket#649 - Wrong error message in THttpCookieCollection::itemAt() (Knut)
ENH: Ticket#625 - Added @ to represent authenticated users in auth rules (Qiang)
ENH: Ticket#631 - Make TQueue implement Countable as the other collection classes (Knut)
ENH: Ticket#634 - Override __toString for TXmlElement and TXmlDocument (Knut)
ENH: Ticket#639 - Added setters for certain properties of TTheme (Qiang)
ENH: Ticket#641 - Added support to find out controls of specified class or parent classes (Qiang)
-CHG: Ticket#649 - Wrong error message in THttpCookieCollection::itemAt() (Knut)
-NEW: Ticket#646 - Implement TAPCCache::add() (Knut)
+ENH: Ticket#646 - Implement TAPCCache::add() (Knut)
Version 3.1.0 RC May 14, 2007
=============================
diff --git a/framework/Web/Javascripts/source/prado/validator/validation3.js b/framework/Web/Javascripts/source/prado/validator/validation3.js
index fe496ed9..5a59d66e 100644
--- a/framework/Web/Javascripts/source/prado/validator/validation3.js
+++ b/framework/Web/Javascripts/source/prado/validator/validation3.js
@@ -584,7 +584,7 @@ Prado.WebUI.TBaseValidator.prototype =
this.isValid = true;
this._isObserving = {};
this.group = null;
- //this.requestDispatched = false;
+ this.requestDispatched = false;
this.options = options;
this.control = $(options.ControlToValidate);
@@ -689,7 +689,7 @@ Prado.WebUI.TBaseValidator.prototype =
if(typeof(this.options.OnValidate) == "function")
{
- //if(this.requestDispatched == false)
+ if(this.requestDispatched == false)
this.options.OnValidate(this, invoker);
}
@@ -713,11 +713,11 @@ Prado.WebUI.TBaseValidator.prototype =
{
if(typeof(this.options.OnValidationSuccess) == "function")
{
- //if(this.requestDispatched == false)
- //{
+ if(this.requestDispatched == false)
+ {
this.refreshControlAndMessage();
this.options.OnValidationSuccess(this, invoker);
- //}
+ }
}
else
this.updateControl();
@@ -726,11 +726,11 @@ Prado.WebUI.TBaseValidator.prototype =
{
if(typeof(this.options.OnValidationError) == "function")
{
- //if(this.requestDispatched == false)
- //{
+ if(this.requestDispatched == false)
+ {
this.refreshControlAndMessage();
this.options.OnValidationError(this, invoker)
- //}
+ }
}
else
this.updateControl();
@@ -1146,8 +1146,8 @@ Prado.WebUI.TActiveCustomValidator = Class.extend(Prado.WebUI.TBaseValidator,
evaluateIsValid : function()
{
value = this.getValidationValue();
- //if(!this.requestDispatched && (""+value) != (""+this.validatingValue))
- if((""+value) != (""+this.validatingValue))
+ if(!this.requestDispatched && (""+value) != (""+this.validatingValue))
+ //if((""+value) != (""+this.validatingValue))
{
this.validatingValue = value;
request = new Prado.CallbackRequest(this.options.EventTarget, this.options);