Ticket #6747: 6747_3.patch
File 6747_3.patch, 1.1 KB (added by , 13 years ago) |
---|
-
_source/plugins/maximize/plugin.js
202 202 height : ( CKEDITOR.env.opera ? viewPaneSize.height - 16 : 0 ) + 'px' 203 203 }; 204 204 205 if ( CKEDITOR.env.ie )206 {207 mainDocument.$.documentElement.style.overflow =208 mainDocument.getBody().$.style.overflow = 'hidden';209 }210 else211 {212 // Prevent window scrolling, e.g. focus moving outside the editor. (#6747)213 mainDocument.getDocumentElement().setStyle( 'overflow', 'hidden' );214 mainDocument.getBody().setStyles( styles );215 }216 217 205 // #4023: [Opera] Maximize plugin 218 206 if ( CKEDITOR.env.opera ) 219 207 mainDocument.getBody().getParent().setStyles( styles ); 208 else 209 mainDocument.getDocumentElement().setStyles( styles ); 210 mainDocument.getBody().setStyles( styles ); 220 211 221 212 // Scroll to the top left (IE needs some time for it - #4923). 222 213 CKEDITOR.env.ie ?