isDirty() method for whole template / etemplate2 object, thought it needs more work in widgets, not setting this._oldValue in their set_value() method

This commit is contained in:
Ralf Becker
2013-08-23 15:15:30 +00:00
parent f4e1db3a68
commit d8984be747
2 changed files with 20 additions and 0 deletions

View File

@ -145,6 +145,8 @@ var et2_htmlarea = et2_inputWidget.extend(
}
},
set_value: function(_value) {
this._oldValue = _value;
try {
//this.htmlNode.ckeditorGet().setData(_value);
var ckeditor = CKEDITOR.instances[this.dom_id];