X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fskins%2Fv2%2Fskin.js;h=3e93628368ac3142af8e4d01e4b13ca63236fce9;hp=058a5c019220638368b5690f53c7c9b8e81780fa;hb=7cd80714081a8ffdf4a1a8d2c72f120ed5ef3d6d;hpb=8761695d9b70afe75905deaac88f78c1f8aeb32d diff --git a/_source/skins/v2/skin.js b/_source/skins/v2/skin.js index 058a5c0..3e93628 100644 --- a/_source/skins/v2/skin.js +++ b/_source/skins/v2/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 != 'v2' ) 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. setTimeout( 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 );