mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-19 13:43:22 +00:00
Imported CKEDITOR 3.0
Monotone-Parent: 5f9c08dd6b5b34d815ddb2108abbf4055e846934 Monotone-Revision: b2cf7eda0ef8f15fb6e78f8c38a7406a47bcdd2f Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-08-26T14:03:12 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -22,21 +22,22 @@ function doLoadScript( url )
|
||||
return true ;
|
||||
}
|
||||
|
||||
var opener;
|
||||
function tryLoad()
|
||||
{
|
||||
var opener = window.parent;
|
||||
opener = window.parent;
|
||||
|
||||
// get access to global parameters
|
||||
var oParams = window.opener.oldFramesetPageParams ;
|
||||
// get access to global parameters
|
||||
var oParams = window.opener.oldFramesetPageParams;
|
||||
|
||||
// make frameset rows string prepare
|
||||
var sFramesetRows = ( parseInt( oParams.firstframeh, 10 ) || '30') + ",*," + ( parseInt( oParams.thirdframeh, 10 ) || '150' ) + ',0' ;
|
||||
document.getElementById( 'itFrameset' ).rows = sFramesetRows ;
|
||||
// make frameset rows string prepare
|
||||
var sFramesetRows = ( parseInt( oParams.firstframeh, 10 ) || '30') + ",*," + ( parseInt( oParams.thirdframeh, 10 ) || '150' ) + ',0' ;
|
||||
document.getElementById( 'itFrameset' ).rows = sFramesetRows ;
|
||||
|
||||
// dynamic including init frames and crossdomain transport code
|
||||
// from config sproxy_js_frameset url
|
||||
var addScriptUrl = oParams.sproxy_js_frameset ;
|
||||
doLoadScript( addScriptUrl ) ;
|
||||
// dynamic including init frames and crossdomain transport code
|
||||
// from config sproxy_js_frameset url
|
||||
var addScriptUrl = oParams.sproxy_js_frameset ;
|
||||
doLoadScript( addScriptUrl ) ;
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
@@ -55,7 +55,7 @@ CKEDITOR.dialog.add( 'checkspell', function( editor )
|
||||
initAndSpell( dialog );
|
||||
}
|
||||
else if ( i++ == 180 ) // Timeout: 180 * 250ms = 45s.
|
||||
_cancelOnError( errorMsg );
|
||||
window._cancelOnError( errorMsg );
|
||||
};
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ CKEDITOR.dialog.add( 'checkspell', function( editor )
|
||||
|
||||
// global var is used in FCK specific core
|
||||
// change on equal var used in fckplugin.js
|
||||
gFCKPluginName = 'wsc';
|
||||
window.gFCKPluginName = 'wsc';
|
||||
|
||||
LangComparer.setDefaulLangCode( editor.config.defaultLanguage );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user