diff options
author | wei <> | 2006-04-28 05:22:14 +0000 |
---|---|---|
committer | wei <> | 2006-04-28 05:22:14 +0000 |
commit | 19989e32667e653d9dd65066ba26c91562a3cdc8 (patch) | |
tree | 37b83db6fe5460cb083a084931db48f89e8f8f83 /framework/Web/Javascripts | |
parent | eb2a6e9431445b3cb24be4b75f02f07aef70aebc (diff) |
Fixed #68 and update TinyMCE to 2.0.5.1
Diffstat (limited to 'framework/Web/Javascripts')
-rw-r--r-- | framework/Web/Javascripts/js/validator.js | 4 | ||||
-rw-r--r-- | framework/Web/Javascripts/prado/validation3.js | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/framework/Web/Javascripts/js/validator.js b/framework/Web/Javascripts/js/validator.js index 4519357c..88dfb25e 100644 --- a/framework/Web/Javascripts/js/validator.js +++ b/framework/Web/Javascripts/js/validator.js @@ -434,6 +434,10 @@ getValidationValue : function(control) this.observeDatePickerChanges(); return Prado.WebUI.TDatePicker.getDropDownDate(control).getTime(); } + case 'THtmlArea': + if(typeof tinyMCE != "undefined") +tinyMCE.triggerSave(); +return this.trim($F(control)); default: if(this.isListControlType()) return this.getFirstSelectedListValue(); diff --git a/framework/Web/Javascripts/prado/validation3.js b/framework/Web/Javascripts/prado/validation3.js index d5da977f..1f154fec 100644 --- a/framework/Web/Javascripts/prado/validation3.js +++ b/framework/Web/Javascripts/prado/validation3.js @@ -772,6 +772,10 @@ Prado.WebUI.TBaseValidator.prototype = return Prado.WebUI.TDatePicker.getDropDownDate(control).getTime();
}
+ case 'THtmlArea':
+ if(typeof tinyMCE != "undefined")
+ tinyMCE.triggerSave();
+ return this.trim($F(control));
default:
if(this.isListControlType())
return this.getFirstSelectedListValue();
|