From 531a1559566d9c75481f4bddece6bfcf878f889e Mon Sep 17 00:00:00 2001 From: "godzilla80@gmx.net" <> Date: Fri, 5 Jun 2009 09:13:51 +0000 Subject: Fix Issue#117 - Consider TValidationSummary.DisplayMode="HeaderOnly" if TValidationSummary.ShowMessageBox is set --- framework/Web/Javascripts/source/prado/validator/validation3.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'framework/Web/Javascripts') diff --git a/framework/Web/Javascripts/source/prado/validator/validation3.js b/framework/Web/Javascripts/source/prado/validator/validation3.js index 850536ab..18b1d0c2 100644 --- a/framework/Web/Javascripts/source/prado/validator/validation3.js +++ b/framework/Web/Javascripts/source/prado/validator/validation3.js @@ -727,6 +727,9 @@ Prado.WebUI.TValidationSummary.prototype = */ formatMessageBox : function(messages) { + if(this.options.DisplayMode == 'HeaderOnly' && this.options.HeaderText) + return this.options.HeaderText; + var output = this.options.HeaderText ? this.options.HeaderText + "\n" : ""; for(var i = 0; i < messages.length; i++) { -- cgit v1.2.3