Ticket #4084: 4084_3.patch
File 4084_3.patch, 1.4 KB (added by , 15 years ago) |
---|
-
CHANGES.html
162 162 ckeditor2.html test case.</li> 163 163 <li><a href="http://dev.fckeditor.net/ticket/3989">#3989</a> : Host page horizontal scrolling a lot when on having righ-to-left direction.</li> 164 164 <li><a href="http://dev.fckeditor.net/ticket/4001">#4001</a> : Create link around existing image result incorrect.</li> 165 <li><a href="http://dev.fckeditor.net/ticket/4084">#4084</a> : In Firefox image dialog using Kama skin was sticked to left viewport border.</li> 165 166 </ul> 166 167 <h3> 167 168 CKEditor 3.0 RC</h3> -
_source/plugins/dialog/plugin.js
647 647 var viewSize = CKEDITOR.document.getWindow().getViewPaneSize(); 648 648 var dialogSize = this.getSize(); 649 649 650 this.move( ( viewSize.width - dialogSize.width ) / 2, ( viewSize.height - dialogSize.height ) / 2 ); 650 // We're using definition size for initial position because of 651 // offten corrupted data in offsetWidth at this point. (#4084) 652 this.move( ( viewSize.width - definition.minWidth ) / 2, ( viewSize.height - dialogSize.height ) / 2 ); 651 653 652 654 this.parts.dialog.setStyle( 'visibility', '' ); 653 655