summaryrefslogtreecommitdiff
path: root/program/js/app.js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-04-04 19:54:08 +0200
committerAleksander Machniak <alec@alec.pl>2014-04-04 19:58:24 +0200
commit92e81cbf22b78bd06bae8006cd5cda57660838c8 (patch)
tree12f9503d3fd2b5f9579e3cfa973efa7ec6872187 /program/js/app.js
parent4044be4f1934ee41e51524d681b688dd7671a60e (diff)
Improve error message on failed http connection
Diffstat (limited to 'program/js/app.js')
-rw-r--r--program/js/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/js/app.js b/program/js/app.js
index f9d4bb056..6d2581a0b 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1901,7 +1901,7 @@ function rcube_webmail()
tree += '<span id="msgicn'+uid+'" class="'+css_class+'">&nbsp;</span>';
row.className = row_class;
- // build subject link
+ // build subject link
if (cols.subject) {
var action = flags.mbox == this.env.drafts_mailbox ? 'compose' : 'show';
var uid_param = flags.mbox == this.env.drafts_mailbox ? '_draft_uid' : '_uid';
@@ -7063,7 +7063,7 @@ function rcube_webmail()
else if (status == 'timeout')
this.display_message(this.get_label('requesttimedout'), 'error');
else if (request.status == 0 && status != 'abort')
- this.display_message(this.get_label('servererror') + ' (No connection)', 'error');
+ this.display_message(this.get_label('connerror'), 'error');
// redirect to url specified in location header if not empty
var location_url = request.getResponseHeader("Location");