| | |
| | | update_quota(rcmail.env.quota_content); |
| | | rcmail.addEventListener('setquota', update_quota); |
| | | |
| | | $('iframe').load(iframe_events) |
| | | $('iframe').on('load', iframe_events) |
| | | .contents().mouseup(function(e) { rcmail_ui.body_mouseup(e); }); |
| | | |
| | | if (rcmail.env.task == 'mail') { |
| | |
| | | .addEventListener('afterimport-messages', function(){ rcmail_ui.show_popup('uploadform', false); }); |
| | | } |
| | | |
| | | rcmail.init_pagejumper('#pagejumper'); |
| | | |
| | | // fix message list header on window resize (#1490213) |
| | | if (bw.ie && rcmail.message_list) |
| | | $(window).resize(function() { |
| | | setTimeout(function() { rcmail.message_list.resize(); }, 10); |
| | | }); |
| | | |
| | | if (rcmail.env.action == 'compose') |
| | | rcmail_ui.init_compose_form(); |
| | | else if (rcmail.env.action == 'show' || rcmail.env.action == 'preview') |