X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fskins%2Foffice2003%2Fskin.js;h=48a6bcd26ef8972e89da8bd4c72efccb5480745c;hp=e869dc87803fd3a6e557517b08d2c61eb12fc0a9;hb=7cd80714081a8ffdf4a1a8d2c72f120ed5ef3d6d;hpb=8761695d9b70afe75905deaac88f78c1f8aeb32d diff --git a/_source/skins/office2003/skin.js b/_source/skins/office2003/skin.js index e869dc8..48a6bcd 100644 --- a/_source/skins/office2003/skin.js +++ b/_source/skins/office2003/skin.js @@ -31,12 +31,12 @@ if ( CKEDITOR.dialog ) width = data.width, height = data.height, dialog = data.dialog, - standardsMode = !CKEDITOR.env.quirk; + contents = dialog.parts.contents; if ( data.skin != 'office2003' ) return; - dialog.parts.contents.setStyles( + contents.setStyles( { width : width + 'px', height : height + 'px' @@ -48,9 +48,8 @@ if ( CKEDITOR.dialog ) // Fix the size of the elements which have flexible lengths. var fixSize = function() { - var content = dialog.parts.contents, - body = content.getParent(), - innerDialog = body.getParent(); + var innerDialog = dialog.parts.dialog.getChild( [ 0, 0, 0 ] ), + body = innerDialog.getChild( 0 ); // tc var el = innerDialog.getChild( 2 );