diff options
author | godzilla80@gmx.net <> | 2009-06-05 09:13:51 +0000 |
---|---|---|
committer | godzilla80@gmx.net <> | 2009-06-05 09:13:51 +0000 |
commit | 531a1559566d9c75481f4bddece6bfcf878f889e (patch) | |
tree | 57993630eb5c5ae4c262d23d10f38338a0ebcd29 /framework/Web/Javascripts | |
parent | 8e0cb0ff0a89603740c7a46a43c87a6d3267ca6f (diff) |
Fix Issue#117 - Consider TValidationSummary.DisplayMode="HeaderOnly" if TValidationSummary.ShowMessageBox is set
Diffstat (limited to 'framework/Web/Javascripts')
-rw-r--r-- | framework/Web/Javascripts/source/prado/validator/validation3.js | 3 |
1 files changed, 3 insertions, 0 deletions
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++)
{
|