X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fskins%2Fkama%2Fskin.js;h=922bf19f8ee56e9942acf1b0599b03fede3d8c8f;hb=refs%2Ftags%2Fv3.6.2;hp=c52994217ace32cdcfbb906de5e96fa9cdbb1a5a;hpb=9afde8772159bd3436f1f5b7862960307710ae5a;p=ckeditor.git diff --git a/_source/skins/kama/skin.js b/_source/skins/kama/skin.js index c529942..922bf19 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-2011, 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 ); }); } })();