From 887b919cae17ecc2c5e457dc884c0be4ffeb4cc2 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sat, 16 Sep 2006 02:05:35 +0000 Subject: Fixed #218 --- framework/Web/Javascripts/js/compressed/ajax.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'framework/Web/Javascripts/js/compressed') diff --git a/framework/Web/Javascripts/js/compressed/ajax.js b/framework/Web/Javascripts/js/compressed/ajax.js index 93bcbaac..60ca8df8 100644 --- a/framework/Web/Javascripts/js/compressed/ajax.js +++ b/framework/Web/Javascripts/js/compressed/ajax.js @@ -86,7 +86,8 @@ Ajax.Responders.register(Prado.CallbackRequest.Exception);});Prado.CallbackReque {return this.options['CausesValidation'];},setValidationGroup:function(group) {this.options['ValidationGroup']=group;},getValidationGroup:function() {return this.options['ValidationGroup'];},dispatch:function() -{Object.extend(this.options,{postBody:this._getPostData(),parameters:''});if(this.options.CausesValidation&&typeof(Prado.Validation)!="undefined") +{if(typeof tinyMCE!="undefined") +tinyMCE.triggerSave();Object.extend(this.options,{postBody:this._getPostData(),parameters:''});if(this.options.CausesValidation&&typeof(Prado.Validation)!="undefined") {var form=this.options.Form||Prado.Validation.getForm();if(Prado.Validation.validate(form,this.options.ValidationGroup,this)==false) return false;} if(this.options.HasPriority) -- cgit v1.2.3