Author: fpunt Date: 2010-07-29 13:37:41 +0200 (Thu, 29 Jul 2010) New Revision: 43008
Modified: CMSContainer/trunk/CMSContainer/cmsc/richtext/src/webapp/mmbase/edit/wizard/xinha/my-htmlarea.js Log: [CMSC-1722] Inserting images in richtext did not work in IE8 Modified: CMSContainer/trunk/CMSContainer/cmsc/richtext/src/webapp/mmbase/edit/wizard/xinha/my-htmlarea.js =================================================================== --- CMSContainer/trunk/CMSContainer/cmsc/richtext/src/webapp/mmbase/edit/wizard/xinha/my-htmlarea.js 2010-07-29 11:37:11 UTC (rev 43007) +++ CMSContainer/trunk/CMSContainer/cmsc/richtext/src/webapp/mmbase/edit/wizard/xinha/my-htmlarea.js 2010-07-29 11:37:41 UTC (rev 43008) @@ -438,7 +438,7 @@ } var img = image; if (!img) { - if ( Xinha.is_ie ) { + if ( Xinha.is_ie && Xinha.ie_version < 8 ) { var sel = editor._getSelection(); var range = editor._createRange(sel); editor._doc.execCommand("insertimage", false, param.f_url); _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs