summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-05-17 07:04:51 +0000
committeralecpl <alec@alec.pl>2009-05-17 07:04:51 +0000
commit74d421d55ae35a18440d738245fbc68c7f75d5b4 (patch)
treeb45e27931dd9dfeba3dd7d1d89c63aa210422643 /program/js
parenta08708509a9e4187a0dbed32c76c50ecf16df3dc (diff)
- don't show message on unknown error (#1485848) + translate "Server Error!" message
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index da480aa67..ec94b5aff 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -3945,7 +3945,8 @@ function rcube_webmail()
this.set_busy(false);
request.abort();
- this.display_message('Unknown Server Error!' + (errmsg ? ' ('+errmsg+')' : ''), 'error');
+ if (errmsg)
+ this.display_message(this.get_label('servererror') + ' (' + errmsg + ')', 'error');
};
// use an image to send a keep-alive siganl to the server