Updating the class wysiwyg

This commit is contained in:
Gustavo Cruz
2013-01-07 17:42:42 -04:00
parent 8d51fc2d80
commit 7d11826d8a

View File

@@ -110,14 +110,6 @@ class XmlForm_Field_WYSIWYG_EDITOR extends XmlForm_Field
this.save();
}
return true;
},
setup: function (ed) {
ed.onKeyUp.add(function (ed, e) {
actualCaretPositionBookmark = tinyMCE.activeEditor.selection.getBookmark();
});
ed.onClick.add(function (ed, e) {
actualCaretPositionBookmark = tinyMCE.activeEditor.selection.getBookmark();
});
}
});
';
@@ -191,14 +183,6 @@ class XmlForm_Field_WYSIWYG_EDITOR extends XmlForm_Field
this.save();
}
return true;
},
setup: function (ed) {
ed.onKeyUp.add(function (ed, e) {
actualCaretPositionBookmark = tinyMCE.activeEditor.selection.getBookmark();
});
ed.onClick.add(function (ed, e) {
actualCaretPositionBookmark = tinyMCE.activeEditor.selection.getBookmark();
});
}
});