diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-10 15:49:14 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-09-10 15:49:14 +0000 |
| commit | f98a7b183160aaf0a21f9f5b029db49fab1275d9 (patch) | |
| tree | efc8b264bc34a5c3c736d9d64dadf17a4f25695f /roundcubemail/program | |
| parent | bd3e60d1a0749a9c41eb6b47c9e97079e638f655 (diff) | |
Fix some recently introduced bugs
git-svn-id: https://svn.roundcube.net/trunk@1760 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/js/app.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 9e10811d5..3812a73de 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -3793,7 +3793,8 @@ function rcube_webmail() case 'getunread': case 'list': if (this.task == 'mail') { - this.msglist_select(this.message_list); + if (this.message_list) + this.msglist_select(this.message_list); this.enable_command('show', 'expunge', 'select-all', 'select-none', 'sort', (this.env.messagecount > 0)); this.enable_command('purge', this.purge_mailbox_test()); } @@ -3809,14 +3810,14 @@ function rcube_webmail() // handle HTTP request errors this.http_error = function(request_obj) { - //alert('Error sending request: '+request_obj.url); + //alert('Error sending request: '+request_obj.url+' => HTTP '+request_obj.xmlhttp.status); if (request_obj.__lock) this.set_busy(false); request_obj.reset(); request_obj.__lock = false; - this.display_message('Unknown Serer Error!', 'error'); + this.display_message('Unknown Server Error!', 'error'); }; |
