Ticket #2815: 2865.patch
File 2865.patch, 1.7 KB (added by , 14 years ago) |
---|
-
editor/wsc/w.html
132 132 clearErrorUsermessage() ; 133 133 var _errorMessage = 'The SpellChecker Service is currently unavailable.' ; 134 134 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 applicaion<br>service host: ' + oEditor.FCK.Config.WSChLoaderScript + '</p>'; 136 136 137 137 var burnSpelling = function( oName, _eMessage ) 138 138 { … … 142 142 { 143 143 if ( typeof( window[oName] ) == 'function' ) 144 144 initAndSpell() ; 145 else if ( i++ == 30)145 else if ( i++ == 45*4 ) 146 146 _cancelOnError( _eMessage ) ; 147 147 } 148 148 } 149 149 150 gInterval = window.setInterval( burnSpelling( 'doSpell', _errorMessage ), 100 ) ;150 gInterval = window.setInterval( burnSpelling( 'doSpell', _errorMessage ), 1000/4 ) ; 151 151 152 152 // 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 = "loader.spellchecker.net/sproxy_fck/sproxy.php" ; 154 155 var plugin = "fck2" ; 155 156 var customerid = oEditor.FCK.Config.WSCnCustomerId 156 157 || "1:ua3xw1-2XyGJ3-GWruD3-6OFNT1-oXcuB1-nR6Bp4-hgQHc-EcYng3-sdRXG3-NOfFk" ; 157 158 var wscCoreUrl = oEditor.FCK.Config.WSChLoaderScript 158 || ( baseUrl + '?'159 || ( protocol + '//' +baseUrl + '?' 159 160 + 'plugin=' + plugin + '&' 160 161 + 'customerid='+ customerid + '&' 161 162 + 'cmd=script&doc=wsc&schema=22' ) ;