summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-04-21 07:21:14 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-04-21 07:21:14 +0000
commit3eb6b63ed5bd53e3044a031291b7889e7b9305c6 (patch)
tree2af4221899117d6c19f94bb9cb7215c8dd141a60 /roundcubemail/program
parent32d682d2f1998dbbcb67ea98a04aecd4d1247945 (diff)
- Don't show ajax request errors when there is no real error
git-svn-id: https://svn.roundcube.net/trunk@4681 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index 6c6fd7b0a..e529fa671 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/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');
};