JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.6.2
[ckeditor.git] / _source / plugins / wsc / dialogs / wsc.js
index 7cc48ed..679e1d9 100644 (file)
@@ -1,5 +1,5 @@
 /*\r
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
 For licensing, see LICENSE.html or http://ckeditor.com/license\r
 */\r
 \r
@@ -31,7 +31,7 @@ CKEDITOR.dialog.add( 'checkspell', function( editor )
                '</iframe>';\r
 \r
        var wscCoreUrl = editor.config.wsc_customLoaderScript || ( protocol +\r
-                       '//loader.spellchecker.net/sproxy_fck/sproxy.php'\r
+                       '//loader.webspellchecker.net/sproxy_fck/sproxy.php'\r
                        + '?plugin=fck2'\r
                        + '&customerid=' + editor.config.wsc_customerId\r
                        + '&cmd=script&doc=wsc&schema=22'\r
@@ -186,6 +186,7 @@ CKEDITOR.dialog.on( 'resize', function( evt )
                var content = dialog.getContentElement( 'general', 'content' ).getElement(),\r
                        iframe = content && content.getChild( 2 );\r
 \r
-               iframe && iframe.setStyle( 'height', data.height + 'px' );\r
+               iframe && iframe.setSize( 'height', data.height );\r
+               iframe && iframe.setSize( 'width', data.width );\r
        }\r
 });\r