|
|
@ -426,7 +426,7 @@ function rcube_init_mail_ui()
|
|
|
|
rcube_event.add_listener({ object:rcmail_ui, method:'body_keypress', event:'keypress' });
|
|
|
|
rcube_event.add_listener({ object:rcmail_ui, method:'body_keypress', event:'keypress' });
|
|
|
|
|
|
|
|
|
|
|
|
$('iframe').load(iframe_events)
|
|
|
|
$('iframe').load(iframe_events)
|
|
|
|
.contents().mouseup(function(e){parent.rcmail_ui.body_mouseup(e)});
|
|
|
|
.contents().mouseup(function(e){rcmail_ui.body_mouseup(e)});
|
|
|
|
|
|
|
|
|
|
|
|
if (rcmail.env.task == 'mail') {
|
|
|
|
if (rcmail.env.task == 'mail') {
|
|
|
|
rcmail.addEventListener('menu-open', 'open_listmenu', rcmail_ui);
|
|
|
|
rcmail.addEventListener('menu-open', 'open_listmenu', rcmail_ui);
|
|
|
@ -445,6 +445,6 @@ function iframe_events()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// this==iframe
|
|
|
|
// this==iframe
|
|
|
|
var doc = this.contentDocument ? this.contentDocument : this.contentWindow ? this.contentWindow.document : null;
|
|
|
|
var doc = this.contentDocument ? this.contentDocument : this.contentWindow ? this.contentWindow.document : null;
|
|
|
|
parent.rcube_event.add_listener({ element: doc, object:rcmail_ui, method:'body_mouseup', event:'mouseup' });
|
|
|
|
rcube_event.add_listener({ element: doc, object:rcmail_ui, method:'body_mouseup', event:'mouseup' });
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|