Changeset 3766 in subversion
- Timestamp:
- Jun 18, 2010 3:56:00 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/skins/default/functions.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/skins/default/functions.js
r3757 r3766 369 369 rcube_event.add_listener({ object:rcmail_ui, method:'body_mouseup', event:'mouseup' }); 370 370 rcube_event.add_listener({ object:rcmail_ui, method:'body_keypress', event:'keypress' }); 371 372 $('iframe').load(iframe_events) 373 .contents().mouseup(function(e){parent.rcmail_ui.body_mouseup(e)}); 374 371 375 if (rcmail.env.task == 'mail') { 372 376 rcmail.addEventListener('menu-open', 'open_listmenu', rcmail_ui); … … 375 379 } 376 380 } 381 382 // Events handling in iframes (eg. preview pane) 383 function iframe_events() 384 { 385 // this==iframe 386 var doc = this.contentDocument ? this.contentDocument : this.contentWindow ? this.contentWindow.document : null; 387 parent.rcube_event.add_listener({ element: doc, object:rcmail_ui, method:'body_mouseup', event:'mouseup' }); 388 } 389
Note: See TracChangeset
for help on using the changeset viewer.
