summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-04-21 07:21:14 +0000
committeralecpl <alec@alec.pl>2011-04-21 07:21:14 +0000
commit7fbd94bc47962f79d7ffe85d9ec062cccbb92c47 (patch)
treeed3f38b5093ef86d6c76d8c31948ab8c13043f26 /program
parent4351f7cd661391aa46c17c1107b6bddf31f25c5b (diff)
- Don't show ajax request errors when there is no real error
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 6c6fd7b0a..e529fa671 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -5387,7 +5387,7 @@ function rcube_webmail()
this.set_busy(false, null, lock);
request.abort();
- if (errmsg)
+ if (request.status && errmsg)
this.display_message(this.get_label('servererror') + ' (' + errmsg + ')', 'error');
};