From 3eb6b63ed5bd53e3044a031291b7889e7b9305c6 Mon Sep 17 00:00:00 2001 From: alec Date: Thu, 21 Apr 2011 07:21:14 +0000 Subject: - 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 --- roundcubemail/program/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); }; -- cgit v1.2.3