Ticket #5744: 5744.patch

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

     
    161161                        {
    162162                                var editor = ev.editor,
    163163                                        scayt_instance = plugin.getScayt( editor );
     164                                if ( !scayt_instance )
     165                                        return;
     166                                // store a control id for restore a specific scayt control settings
     167                                plugin.setControlId(editor, scayt_instance.id);
    164168                                delete plugin.instances[ editor.name ];
    165                                 // store a control id for restore a specific scayt control settings
    166                                 scayt_control_id = scayt_instance.id;
    167169                                scayt_instance.destroy( true );
    168170                        });
    169171
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy