X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fwsc%2Fdialogs%2Fwsc.js;h=7cc48edcaad40db973aed5325fd9bfc4c924b720;hb=refs%2Ftags%2Fv3.5;hp=7bc95dd80f97a3b7d3b4aa59b1103bdbbaf46992;hpb=614511639979907ceb0da3614122a4d8eb963ad4;p=ckeditor.git diff --git a/_source/plugins/wsc/dialogs/wsc.js b/_source/plugins/wsc/dialogs/wsc.js index 7bc95dd..7cc48ed 100644 --- a/_source/plugins/wsc/dialogs/wsc.js +++ b/_source/plugins/wsc/dialogs/wsc.js @@ -179,9 +179,13 @@ CKEDITOR.dialog.add( 'checkspell', function( editor ) CKEDITOR.dialog.on( 'resize', function( evt ) { var data = evt.data, - dialog = data.dialog, - height = data.height; + dialog = data.dialog; + + if ( dialog._.name == 'checkspell' ) + { var content = dialog.getContentElement( 'general', 'content' ).getElement(), - iframe = content && content.getChild( 2 ); - iframe && iframe.setStyle( 'height', height + 'px' ); + iframe = content && content.getChild( 2 ); + + iframe && iframe.setStyle( 'height', data.height + 'px' ); + } });