summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortof <>2007-07-24 15:54:10 +0000
committertof <>2007-07-24 15:54:10 +0000
commitc4062970b2868016d4746598dc2eeafdef2e09c5 (patch)
tree4c14ef3ece374320edc644ec19f4ddc682a2ee1c
parentcb5fc1bab473aad142c54dea69b4c67cae1e56fd (diff)
Fixed #648
-rw-r--r--HISTORY1
-rw-r--r--framework/Web/Javascripts/source/prado/validator/validation3.js7
2 files changed, 6 insertions, 2 deletions
diff --git a/HISTORY b/HISTORY
index 2478d6b9..735e04c0 100644
--- a/HISTORY
+++ b/HISTORY
@@ -5,6 +5,7 @@ BUG: Ticket#656 - TDatePicker does not return correct value when in callback mod
BUG: Ticket#662 - Ensure TForm to properly encode the ampersand in action URL (Qiang)
BUG: Ticket#666 - TActiveRecord::deleteAll() method always requires a criteria or null parameter (Qiang)
BUG: Ticket#670 - TDatePicker: Year Issue (Christophe)
+BUG: Ticket#648 - Validation: onClick and onBlur events order (Christophe)
ENH: Ticket#667 - Added TFeedService.ContentType property (Qiang)
ENH: Ticket#577 - Added image button support for TPager (Qiang)
ENH: Added THead requirement check (Qiang)
diff --git a/framework/Web/Javascripts/source/prado/validator/validation3.js b/framework/Web/Javascripts/source/prado/validator/validation3.js
index 5a59d66e..b9c2e0af 100644
--- a/framework/Web/Javascripts/source/prado/validator/validation3.js
+++ b/framework/Web/Javascripts/source/prado/validator/validation3.js
@@ -625,8 +625,11 @@ Prado.WebUI.TBaseValidator.prototype =
this.visible = true;
if(this.message)
{
- if(this.options.Display == "Dynamic")
- this.isValid ? this.message.hide() : this.message.show();
+ if(this.options.Display == "Dynamic")
+ {
+ var msg=this.message;
+ this.isValid ? setTimeout(function() { msg.hide(); }, 250) : msg.show();
+ }
this.message.style.visibility = this.isValid ? "hidden" : "visible";
}
if(this.control)