summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-09-10 15:49:14 +0000
committerthomascube <thomas@roundcube.net>2008-09-10 15:49:14 +0000
commit835ae8516a6a1097911360d45e21681c2606e253 (patch)
tree80996d6d12281e276efc069e7bd3c4bc93a7a599 /program
parent32efb0b6313641b29e24ba8cbad7a297e223a430 (diff)
Fix some recently introduced bugs
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 9e10811d5..3812a73de 100644
--- a/program/js/app.js
+++ b/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');
};