X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fskins%2Fkama%2Fskin.js;h=b56944ea38b6963f68a93f2f8659923b7adf1dc7;hb=6e682412d5cc0dfaedb376482e585bf2989c6863;hp=c52994217ace32cdcfbb906de5e96fa9cdbb1a5a;hpb=9afde8772159bd3436f1f5b7862960307710ae5a;p=ckeditor.git diff --git a/_source/skins/kama/skin.js b/_source/skins/kama/skin.js index c529942..b56944e 100644 --- a/_source/skins/kama/skin.js +++ b/_source/skins/kama/skin.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -10,6 +10,7 @@ CKEDITOR.skins.add( 'kama', (function() return { editor : { css : [ 'editor.css' ] }, dialog : { css : [ 'dialog.css' ] }, + richcombo : { canGroup: false }, templates : { css : [ 'templates.css' ] }, margins : [ 0, 0, 0, 0 ], init : function( editor ) @@ -216,30 +217,6 @@ CKEDITOR.skins.add( 'kama', (function() width : width + 'px', height : height + 'px' }); - - // Fix the size of the elements which have flexible lengths. - setTimeout( function() - { - var innerDialog = dialog.parts.dialog.getChild( [ 0, 0, 0 ] ), - body = innerDialog.getChild( 0 ); - - // tc - var el = innerDialog.getChild( 2 ); - el.setStyle( 'width', ( body.$.offsetWidth ) + 'px' ); - - // bc - el = innerDialog.getChild( 7 ); - el.setStyle( 'width', ( body.$.offsetWidth - 28 ) + 'px' ); - - // ml - el = innerDialog.getChild( 4 ); - el.setStyle( 'height', ( height + body.getChild(0).$.offsetHeight ) + 'px' ); - - // mr - el = innerDialog.getChild( 5 ); - el.setStyle( 'height', ( height + body.getChild(0).$.offsetHeight ) + 'px' ); - }, - 100 ); }); } })();