Ticket #5565: 5565_3.patch
File 5565_3.patch, 1.7 KB (added by , 13 years ago) |
---|
-
_source/plugins/floatpanel/plugin.js
129 129 130 130 element.setStyles( 131 131 { 132 top : top + 'px', 133 left : '-3000px', 134 opacity : '0', // FF3 is ignoring "visibility" 132 top : '-30000px', 135 133 display : '' 136 134 }); 135 // Don't use display or visibility style because we need to 136 // calculate the rendering layout later and focus the element. 137 element.setOpacity( 0 ); 137 138 138 139 // To allow the context menu to decrease back their width 139 element.getFirst().removeStyle( 'width');140 element.getFirst().removeStyle( 'width' ); 140 141 141 142 // Configure the IFrame blur event. Do that only once. 142 143 if ( !this._.blurSet ) … … 203 204 // We must adjust first the width or IE6 could include extra lines in the height computation 204 205 var widthNode = block.element.$; 205 206 206 if ( CKEDITOR.env.gecko || CKEDITOR.env.opera )207 if ( CKEDITOR.env.gecko || CKEDITOR.env.opera ) 207 208 widthNode = widthNode.parentNode; 208 209 209 if ( CKEDITOR.env.ie )210 if ( CKEDITOR.env.ie ) 210 211 widthNode = widthNode.document.body; 211 212 212 213 var width = widthNode.scrollWidth; … … 262 263 element.setStyles( 263 264 { 264 265 top : top + 'px', 265 left : left + 'px', 266 opacity : '1' 266 left : left + 'px' 267 267 } ); 268 268 element.setOpacity( 1 ); 269 269 } , this ); 270 270 271 271 panel.isLoaded ? panelLoad() : panel.onLoad = panelLoad;