mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 06:47:12 +00:00
Update CKEditor to version 4.1.2
Also added the blockquote plugin.
This commit is contained in:
1 parent
4cffea43eb
commit
2a51f6f385
37 files changed
+617
-527
No files matched your search
@@ -38,9 +38,26 @@ function sendData2Master()
|
||||
catch (e) {}
|
||||
}
|
||||
|
||||
function OnMessage (event) {
|
||||
var message = event.data;
|
||||
var destination = window.parent.parent;
|
||||
destination.XDTMaster.read( [ 'end', message, 'fpm' ] ) ;
|
||||
}
|
||||
|
||||
function listenPostMessage() {
|
||||
if (window.addEventListener) { // all browsers except IE before version 9
|
||||
window.addEventListener ("message", OnMessage, false);
|
||||
}else {
|
||||
if (window.attachEvent) { // IE before version 9
|
||||
window.attachEvent("onmessage", OnMessage);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function onLoad()
|
||||
{
|
||||
interval = window.setInterval( sendData2Master, 100 );
|
||||
listenPostMessage();
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
Reference in new issue
Block a user