Ticket #5287: 5287.patch

File 5287.patch, 756 bytes (added by WebSpellChecker.net, 14 years ago)
  • _source/plugins/scayt/plugin.js

     
    4444                        oParams.customDictionaryIds = editor.config.scayt_customDictionaryIds;
    4545                        oParams.userDictionaryName = editor.config.scayt_userDictionaryName;
    4646                        oParams.sLang = editor.config.scayt_sLang || "en_US";
    47 
    48                         if ( CKEDITOR._scaytParams )
     47                       
     48                        if ( typeof scayt_custom_params == 'object')
    4949                        {
    50                                 for ( var k in CKEDITOR._scaytParams )
     50                                for ( var k in scayt_custom_params )
    5151                                {
    52                                         oParams[ k ] = CKEDITOR._scaytParams[ k ];
     52                                        oParams[ k ] = scayt_custom_params[ k ];
    5353                                }
    5454                        }
    5555
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy