X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fskins%2Fkama%2Fskin.js;h=c52994217ace32cdcfbb906de5e96fa9cdbb1a5a;hb=9afde8772159bd3436f1f5b7862960307710ae5a;hp=fe8923b1b112ae5bdf87027263c06d12bb54b89b;hpb=c6e377a02b54abc07129d72b632763c727476a15;p=ckeditor.git diff --git a/_source/skins/kama/skin.js b/_source/skins/kama/skin.js index fe8923b..c529942 100644 --- a/_source/skins/kama/skin.js +++ b/_source/skins/kama/skin.js @@ -5,18 +5,9 @@ For licensing, see LICENSE.html or http://ckeditor.com/license CKEDITOR.skins.add( 'kama', (function() { - var preload = [], - uiColorStylesheetId = 'cke_ui_color'; - - if ( CKEDITOR.env.ie && CKEDITOR.env.version < 7 ) - { - // For IE6, we need to preload some images, otherwhise they will be - // downloaded several times (CSS background bug). - preload.push( 'icons.png', 'images/sprites_ie6.png', 'images/dialog_sides.gif' ); - } + var uiColorStylesheetId = 'cke_ui_color'; return { - preload : preload, editor : { css : [ 'editor.css' ] }, dialog : { css : [ 'dialog.css' ] }, templates : { css : [ 'templates.css' ] }, @@ -147,7 +138,7 @@ CKEDITOR.skins.add( 'kama', (function() { var cssContent, uiStyle = getStylesheet( CKEDITOR.document ), - cssId = '.cke_editor_' + CKEDITOR.tools.escapeCssSelector( editor.name ); + cssId = '.' + editor.id; var cssSelectors = [ @@ -242,11 +233,11 @@ CKEDITOR.skins.add( 'kama', (function() // ml el = innerDialog.getChild( 4 ); - el.setStyle( 'height', ( body.$.offsetHeight - 31 - 14 ) + 'px' ); + el.setStyle( 'height', ( height + body.getChild(0).$.offsetHeight ) + 'px' ); // mr el = innerDialog.getChild( 5 ); - el.setStyle( 'height', ( body.$.offsetHeight - 31 - 14 ) + 'px' ); + el.setStyle( 'height', ( height + body.getChild(0).$.offsetHeight ) + 'px' ); }, 100 ); });