[kupu-checkins] r49159 - kupu/trunk/kupu/common
duncan at codespeak.net
duncan at codespeak.net
Mon Nov 26 11:51:07 CET 2007
Author: duncan
Date: Mon Nov 26 11:51:06 2007
New Revision: 49159
Modified:
kupu/trunk/kupu/common/kupueditor.js
Log:
Fix for Plone ticket #7377. Revision 45177 broke linking an image.
Modified: kupu/trunk/kupu/common/kupueditor.js
==============================================================================
--- kupu/trunk/kupu/common/kupueditor.js (original)
+++ kupu/trunk/kupu/common/kupueditor.js Mon Nov 26 11:51:06 2007
@@ -852,8 +852,8 @@
}
if (this.getBrowserName() == "IE") {
var body = this.getInnerDocument().getElementsByTagName('body')[0];
- this._restoreSelection();
body.setAttribute('contentEditable', 'true');
+ this._restoreSelection();
} else {
var doc = this.getInnerDocument();
this.getDocument().execCommand('contentReadOnly', 'false');
More information about the kupu-checkins
mailing list