X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fscayt%2Fdialogs%2Foptions.js;h=f745d8249ecce95dfbe0204f7c32b1f48d08424d;hb=refs%2Ftags%2Fv3.3.2;hp=2d5c5abc7a53e740cee297ea04d1226dcbac276f;hpb=c6e377a02b54abc07129d72b632763c727476a15;p=ckeditor.git diff --git a/_source/plugins/scayt/dialogs/options.js b/_source/plugins/scayt/dialogs/options.js index 2d5c5ab..f745d82 100644 --- a/_source/plugins/scayt/dialogs/options.js +++ b/_source/plugins/scayt/dialogs/options.js @@ -213,9 +213,9 @@ CKEDITOR.dialog.add( 'scaytcheck', function( editor ) i; // Add buttons titles - if (userDicActive) + if ( userDicActive ) { - for ( i in buttons ) + for ( i = 0; i < buttons.length; i++ ) { var button = buttons[ i ]; doc.getById( button ).setHtml( '' + captions[ 'button_' + button] +'' ); @@ -225,7 +225,7 @@ CKEDITOR.dialog.add( 'scaytcheck', function( editor ) // Fill options and dictionary labels. - if (tags[0] == 1) + if ( tags[0] == 1 ) { for ( i in labels ) { @@ -243,9 +243,9 @@ CKEDITOR.dialog.add( 'scaytcheck', function( editor ) } } - var about = '

' + captions[ 'about_throwt_image' ] + '

'+ - '

' + captions[ 'version' ] + dialog.data.scayt.version.toString() + '

' + - '

' + captions[ 'about_throwt_copy' ] + '

'; + var about = '

' + + '

' + captions[ 'version' ] + window.scayt.getAboutInfo().version.toString() + '

' + + '

' + captions[ 'about_throwt_copy' ] + '

'; doc.getById( 'scayt_about' ).setHtml( about );