Ticket #9483: Patch_to_fix_opening_of_colorpicker_in_ie10.patch
File Patch_to_fix_opening_of_colorpicker_in_ie10.patch, 1.4 KB (added by , 12 years ago) |
---|
-
ckeditor/_source/plugins/floatpanel/plugin.js
213 213 if ( CKEDITOR.env.gecko || CKEDITOR.env.opera ) 214 214 widthNode = widthNode.parentNode; 215 215 216 if ( CKEDITOR.env.ie )216 if ( CKEDITOR.env.ie && !CKEDITOR.env.ie10Compat ) 217 217 widthNode = widthNode.document.body; 218 218 219 219 var width = widthNode.scrollWidth; -
ckeditor/_source/core/env.js
173 173 */ 174 174 env.ie9Compat = document.documentMode == 9; 175 175 176 /** 176 /** 177 * Indicates that CKEditor is running on Internet Explorer 10's standards mode. 178 * @name CKEDITOR.env.ie9Compat 179 * @type Boolean 180 * @example 181 * if ( CKEDITOR.env.ie10Compat ) 182 * alert( "IE10, the beauty of the web!" ); 183 */ 184 env.ie10Compat = document.documentMode == 10; 185 186 /** 177 187 * Indicates that CKEditor is running on an IE7-like environment, which 178 188 * includes IE7 itself and IE8's IE7 document mode. 179 189 * @name CKEDITOR.env.ie7Compat