diff --git a/gulliver/system/class.wysiwygEditor.php b/gulliver/system/class.wysiwygEditor.php index 1c1beeaa2..2b1d1031e 100644 --- a/gulliver/system/class.wysiwygEditor.php +++ b/gulliver/system/class.wysiwygEditor.php @@ -141,6 +141,12 @@ class XmlForm_Field_WYSIWYG_EDITOR extends XmlForm_Field inst.save(); } return true; + }, + handle_event_callback : function(e) { + if(this.isDirty()) { + this.save(); + } + return true; } }); ';