diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-04-04 19:54:08 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-04-04 19:54:08 +0200 |
commit | adaddf0b188eca228d626973f193b2a51de2dbe7 (patch) | |
tree | 96c35dc0588fdb150e45582cda4adaa436f60e3b /program/js | |
parent | f8a9c2c59cda13e41f1295ce378885e29ad39780 (diff) |
Improve error message on failed http connection
Diffstat (limited to 'program/js')
-rw-r--r-- | program/js/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/js/app.js b/program/js/app.js index 7fb644145..eea72f0ee 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+'"> </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'; @@ -7069,7 +7069,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"); |