From c4062970b2868016d4746598dc2eeafdef2e09c5 Mon Sep 17 00:00:00 2001 From: tof <> Date: Tue, 24 Jul 2007 15:54:10 +0000 Subject: Fixed #648 --- HISTORY | 1 + framework/Web/Javascripts/source/prado/validator/validation3.js | 7 +++++-- 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) -- cgit v1.2.3