From 7fbd94bc47962f79d7ffe85d9ec062cccbb92c47 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 21 Apr 2011 03:21:14 -0400
Subject: [PATCH] - Don't show ajax request errors when there is no real error
---
program/js/app.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/program/js/app.js b/program/js/app.js
index 6c6fd7b..e529fa6 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -5387,7 +5387,7 @@
this.set_busy(false, null, lock);
request.abort();
- if (errmsg)
+ if (request.status && errmsg)
this.display_message(this.get_label('servererror') + ' (' + errmsg + ')', 'error');
};
--
Gitblit v1.9.1