Ticket #8277: 8277.patch
File 8277.patch, 1.5 KB (added by , 13 years ago) |
---|
-
_source/themes/default/theme.js
227 227 '<div id="%bl#" class="%bl"></div>' + 228 228 '<div id="%bc#" class="%bc"></div>' + 229 229 '<div id="%br#" class="%br"></div>' + 230 // IFrame shim for dialog that masks activeX in IE. (#7619)231 ( CKEDITOR.env.ie && !CKEDITOR.env.ie6Compat? '<iframe class="cke_iframe_shim" frameborder="0" tabindex="-1" src="javascript:void(0)"></iframe>' : '' ),232 230 '</td></tr>' + 233 231 '</table>', 234 232 … … 244 242 title = body.getChild( 0 ), 245 243 close = body.getChild( 1 ); 246 244 245 // IFrame shim for dialog that masks activeX in IE. (#7619) 246 if ( CKEDITOR.env.ie && !CKEDITOR.env.ie6Compat ) 247 { 248 var isCustomDomain = CKEDITOR.env.isCustomDomain(), 249 src = 'javascript:void(function(){' + encodeURIComponent( 'document.open();' + ( isCustomDomain ? ( 'document.domain="' + document.domain + '";' ) : '' ) + 'document.close();' ) + '}())', 250 iframe = CKEDITOR.dom.element.createFromHtml( '<iframe' + 251 ' frameBorder="0"' + 252 ' class="cke_iframe_shim"' + 253 ' src="' + src + '"' + 254 ' tabIndex="-1"' + 255 '></iframe>' ); 256 iframe.appendTo( body.getParent() ); 257 } 258 247 259 // Make the Title and Close Button unselectable. 248 260 title.unselectable(); 249 261 close.unselectable();