| | |
| | | this.enable_command('logout', true); |
| | | |
| | | // disable browser's contextmenus |
| | | //document.oncontextmenu = function(){ return false; } |
| | | document.oncontextmenu = function(){ return false; } |
| | | |
| | | // load body click event |
| | | document.onmousedown = function(){ return rcube_webmail_client.reset_click(); }; |
| | |
| | | |
| | | this.in_message_list = true; |
| | | e.cancelBubble = true; |
| | | if (e.stopPropagation) e.stopPropagation(); |
| | | }; |
| | | |
| | | // reset last clicked if user clicks on anything other than the message table |
| | |
| | | } |
| | | if (!new_row) return false; |
| | | scroll_to = new_row.offsetTop; |
| | | } else {return false}; |
| | | } else {return true;} |
| | | |
| | | if (mod_key != CONTROL_KEY) |
| | | this.select_row(new_row.uid,mod_key); |
| | |
| | | this.set_page_buttons(); |
| | | }; |
| | | |
| | | // replace content of quota display |
| | | this.set_quota = function(text) |
| | | { |
| | | if (this.gui_objects.quotadisplay) |
| | | this.gui_objects.quotadisplay.innerHTML = text; |
| | | }; |
| | | |
| | | |
| | | // update the mailboxlist |
| | | this.set_unread_count = function(mbox, count, set_title) |
| | |
| | | } |
| | | |
| | | // set unread count to window title |
| | | if (set_title && document.title) |
| | | if ((set_title || mbox==this.env.mailbox) && document.title) |
| | | { |
| | | var doc_title = String(document.title); |
| | | reg = /^\([0-9]+\)\s+/i; |