Ticket #4065: 4065.patch

File 4065.patch, 766 bytes (added by Artur Formella, 12 years ago)
  • _source/plugins/scayt/plugin.js

     
    303303                        // Add Options dialog.
    304304                        CKEDITOR.dialog.add( commandName, CKEDITOR.getUrl( this.path + 'dialogs/options.js' ) );
    305305
     306                        if ( editor.config.scayt_disableForSSL && document.location.protocol.search( /https:/) != -1 )
     307                                command.modes = { wysiwyg: false };
     308
    306309                        var menuGroup = 'scaytButton';
    307310                        editor.addMenuGroup( menuGroup );
    308311                        editor.addMenuItems(
     
    512515
    513516CKEDITOR.config.scayt_maxSuggestions =  5;
    514517CKEDITOR.config.scayt_autoStartup = false;
     518CKEDITOR.config.scayt_disableForSSL = true;
© 2003 – 2021 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy