X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fwsc%2Fdialogs%2Fwsc.js;h=ecadaaf8b68dedeb4c1718929ae28532dc19549b;hb=refs%2Ftags%2Fv3.5.1;hp=7cc48edcaad40db973aed5325fd9bfc4c924b720;hpb=9afde8772159bd3436f1f5b7862960307710ae5a;p=ckeditor.git diff --git a/_source/plugins/wsc/dialogs/wsc.js b/_source/plugins/wsc/dialogs/wsc.js index 7cc48ed..ecadaaf 100644 --- a/_source/plugins/wsc/dialogs/wsc.js +++ b/_source/plugins/wsc/dialogs/wsc.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 */ @@ -186,6 +186,7 @@ CKEDITOR.dialog.on( 'resize', function( evt ) var content = dialog.getContentElement( 'general', 'content' ).getElement(), iframe = content && content.getChild( 2 ); - iframe && iframe.setStyle( 'height', data.height + 'px' ); + iframe && iframe.setSize( 'height', data.height ); + iframe && iframe.setSize( 'width', data.width ); } });