File tree 2 files changed +2
-4
lines changed 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1848,8 +1848,7 @@ CKEDITOR.dialog.add('checkspell', function(editor) {
1848
1848
NS . cust_dic_ids = editor . config . wsc_customDictionaryIds ;
1849
1849
NS . userDictionaryName = editor . config . wsc_userDictionaryName ;
1850
1850
NS . defaultLanguage = CKEDITOR . config . defaultLanguage ;
1851
- var protocol = document . location . protocol == "file:" ? "http:" : document . location . protocol ;
1852
- var wscCoreUrl = editor . config . wsc_customLoaderScript || ( protocol + '//www.webspellchecker.net/spellcheck31/lf/22/js/wsc_fck2plugin.js' ) ;
1851
+ var wscCoreUrl = editor . config . wsc_customLoaderScript || 'https://www.webspellchecker.net/spellcheck31/lf/22/js/wsc_fck2plugin.js' ;
1853
1852
} else {
1854
1853
NS . dialog . hide ( ) ;
1855
1854
return ;
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ CKEDITOR.dialog.add( 'checkspell', function( editor ) {
9
9
textareaId = 'cke_data_' + number ,
10
10
errorBoxId = 'cke_error_' + number ,
11
11
interval ,
12
- protocol = document . location . protocol || 'http:' ,
13
12
errorMsg = editor . lang . wsc . notAvailable ;
14
13
15
14
var pasteArea =
@@ -30,7 +29,7 @@ CKEDITOR.dialog.add( 'checkspell', function( editor ) {
30
29
' allowtransparency="1">' +
31
30
'</iframe>' ;
32
31
33
- var wscCoreUrl = editor . config . wsc_customLoaderScript || ( protocol + ' //loader.webspellchecker.net/sproxy_fck/sproxy.php' + '?plugin=fck2'
32
+ var wscCoreUrl = editor . config . wsc_customLoaderScript || ( 'https: //loader.webspellchecker.net/sproxy_fck/sproxy.php' + '?plugin=fck2'
34
33
+ '&customerid=' + editor . config . wsc_customerId
35
34
+ '&cmd=script&doc=wsc&schema=22'
36
35
) ;
You can’t perform that action at this time.
0 commit comments