Ticket #2815: 2815_2.patch

File 2815_2.patch, 2.4 KB (added by Frederico Caldeira Knabben, 12 years ago)

Simplified patch. Added changelog entry.

  • _whatsnew.html

     
    3939        <ul>
    4040                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2777">#2777</a>] Merging
    4141                        cells between table header and table body is no longer possible.</li>
     42                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2815">#2815</a>] Fixed
     43                        WSC issues at slow connection speed. Added SSL support.</li>
    4244        </ul>
    4345        <h3>
    4446                Version 2.6.4 Beta</h3>
  • editor/wsc/w.html

     
    1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
     1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    22<!--
    33 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
    44 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
     
    132132        clearErrorUsermessage() ;
    133133        var _errorMessage = 'The SpellChecker Service is currently unavailable.' ;
    134134        if ( 'undefined' != typeof( oEditor.FCK.Config.WSChLoaderScript ) )
    135             _errorMessage = '<div>The SpellChecker Service is currently unavailable.</div><p>Error application loading<br>service host: ' + oEditor.FCK.Config.WSChLoaderScript + '</p>';
     135            _errorMessage = '<div>The SpellChecker Service is currently unavailable.</div><p>Error loading application<br>service host: ' + oEditor.FCK.Config.WSChLoaderScript + '</p>';
    136136
    137137        var burnSpelling = function( oName, _eMessage )
    138138        {
     
    142142                {
    143143                        if ( typeof( window[oName] ) == 'function' )
    144144                                initAndSpell() ;
    145                         else if ( i++ == 30 )
     145                        else if ( i++ == 180 )
    146146                                _cancelOnError( _eMessage ) ;
    147147                }
    148148        }
    149149
    150         gInterval = window.setInterval( burnSpelling( 'doSpell', _errorMessage ), 100 ) ;
     150        gInterval = window.setInterval( burnSpelling( 'doSpell', _errorMessage ), 250 ) ;
    151151
    152152        // WSC CORE init section
    153         var baseUrl = "http://loader.spellchecker.net/sproxy_fck/sproxy.php" ;
     153        var protocol = document.location.protocol || 'http:' ;
     154        var baseUrl = protocol + '//loader.spellchecker.net/sproxy_fck/sproxy.php' ;
    154155        var plugin = "fck2" ;
    155156        var customerid = oEditor.FCK.Config.WSCnCustomerId
    156157                || "1:ua3xw1-2XyGJ3-GWruD3-6OFNT1-oXcuB1-nR6Bp4-hgQHc-EcYng3-sdRXG3-NOfFk" ;
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy