JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5
[ckeditor.git] / _source / skins / v2 / skin.js
index f7d5060..2abbbcf 100644 (file)
@@ -5,17 +5,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
 \r
 CKEDITOR.skins.add( 'v2', (function()\r
 {\r
-       var preload = [];\r
-\r
-       if ( CKEDITOR.env.ie && CKEDITOR.env.version < 7 )\r
-       {\r
-               // For IE6, we need to preload some images, otherwhise they will be\r
-               // downloaded several times (CSS background bug).\r
-               preload.push( 'icons.png', 'images/sprites_ie6.png', 'images/dialog_sides.gif' );\r
-       }\r
-\r
        return {\r
-               preload         : preload,\r
                editor          : { css : [ 'editor.css' ] },\r
                dialog          : { css : [ 'dialog.css' ] },\r
                templates       : { css : [ 'templates.css' ] },\r
@@ -65,11 +55,11 @@ CKEDITOR.skins.add( 'v2', (function()
 \r
                                                // ml\r
                                                el = innerDialog.getChild( 4 );\r
-                                               el.setStyle( 'height', ( body.$.offsetHeight - 31 - 14 ) + 'px' );\r
+                                               el.setStyle( 'height', ( height + body.getChild(0).$.offsetHeight ) + 'px' );\r
 \r
                                                // mr\r
                                                el = innerDialog.getChild( 5 );\r
-                                               el.setStyle( 'height', ( body.$.offsetHeight - 31 - 14 ) + 'px' );\r
+                                               el.setStyle( 'height', ( height + body.getChild(0).$.offsetHeight ) + 'px' );\r
                                        },\r
                                        100 );\r
                        });\r