Ticket #3946: 3946.patch
File 3946.patch, 1.2 KB (added by , 15 years ago) |
---|
-
_source/plugins/floatpanel/plugin.js
121 121 if ( corner == 3 || corner == 4 ) 122 122 top += offsetParent.$.offsetHeight - 1; 123 123 124 // Memorize offsetParent by it's ID. 125 this._.panel._.offsetParentId = offsetParent.getId(); 126 124 127 element.setStyles( 125 128 { 126 129 top : top + 'px', … … 233 236 iframe.setAttribute( 'title', ' ' ); 234 237 } 235 238 } 236 if ( CKEDITOR.env.ie && CKEDITOR.env.quirks ) 237 iframe.focus(); 238 else 239 iframe.$.contentWindow.focus(); 239 iframe.focus(); 240 240 }, 0); 241 241 }, 0); 242 242 … … 269 269 270 270 showAsChild : function( panel, blockName, offsetParent, corner, offsetX, offsetY ) 271 271 { 272 // Skip reshowing of child which is already visible. 273 if ( this._.activeChild == panel && panel._.panel._.offsetParentId == offsetParent.getId() ) 274 return; 275 272 276 this.hideChild(); 273 277 274 278 panel.onHide = CKEDITOR.tools.bind( function()