width = data.width,\r
height = data.height,\r
dialog = data.dialog,\r
- standardsMode = !CKEDITOR.env.quirk;\r
+ contents = dialog.parts.contents;\r
\r
if ( data.skin != 'v2' )\r
return;\r
\r
- dialog.parts.contents.setStyles(\r
+ contents.setStyles(\r
{\r
width : width + 'px',\r
height : height + 'px'\r
// Fix the size of the elements which have flexible lengths.\r
setTimeout( function()\r
{\r
- var content = dialog.parts.contents,\r
- body = content.getParent(),\r
- innerDialog = body.getParent();\r
+ var innerDialog = dialog.parts.dialog.getChild( [ 0, 0, 0 ] ),\r
+ body = innerDialog.getChild( 0 );\r
\r
// tc\r
var el = innerDialog.getChild( 2 );\r