summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsun2010-02-06 22:34:16 (GMT)
committer sun2010-02-06 22:34:16 (GMT)
commitfa7fa241b26af0f7ad64f1961bbfed95fa286e4f (patch)
tree2d2bb61880d3d67f1465c1f5e521b905534012f4
parent60bfcfc449d878748b462592a513da8b04e8c026 (diff)
#659200 by TwoD: Fixed YUI Editor content lost in IE.
-rw-r--r--CHANGELOG.txt1
-rw-r--r--editors/js/yui.js4
2 files changed, 1 insertions, 4 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 7aadf0c..1d77399 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -15,6 +15,7 @@ Wysiwyg 7.x-3.x, xxxx-xx-xx
Wysiwyg 6.x-3.x, xxxx-xx-xx
---------------------------
+#659200 by TwoD: Fixed YUI Editor content lost in IE.
#594928 by ericbellot, TwoD, sun: Fixed 'attribs' button missing in TinyMCE.
#557090 by TwoD: Fixed Whizzywig 56 instance not removed on detach().
#667848 by TwoD, kaakuu: Fixed FCKeditor is not properly detached in IE.
diff --git a/editors/js/yui.js b/editors/js/yui.js
index 7cce8fd..184eef6 100644
--- a/editors/js/yui.js
+++ b/editors/js/yui.js
@@ -21,7 +21,6 @@ Drupal.wysiwyg.editor.detach.yui = function(context, params) {
if (typeof params != 'undefined') {
var instance = YAHOO.widget.EditorInfo.getEditorById(params.field);
if (instance) {
- instance.saveHTML();
instance.destroy();
}
}
@@ -29,10 +28,7 @@ Drupal.wysiwyg.editor.detach.yui = function(context, params) {
for (var e in YAHOO.widget.EditorInfo._instances) {
// Save contents of all editors back into textareas.
var instance = YAHOO.widget.EditorInfo._instances[e];
- instance.saveHTML();
instance.destroy();
- // Remove all editor instances.
- //nicEditors.editors[e].nicInstances = [];
}
}
};