From 15679584f7c308de7c9b41a6e07205baf4a45fa0 Mon Sep 17 00:00:00 2001 From: "marcins78@gmail.com" Date: Wed, 20 Feb 2013 00:26:20 +0000 Subject: [PATCH] 200 (Success) should not raise an error. --- .../gemp-lotr-async/src/main/web/js/gemp-016/communication.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-016/communication.js b/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-016/communication.js index 0c5ca4b5b..3796fd0e6 100644 --- a/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-016/communication.js +++ b/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-016/communication.js @@ -13,7 +13,7 @@ var GempLotrCommunication = Class.extend({ var errorStatus = "" + xhr.status; if (errorMap != null && errorMap[errorStatus] != null) errorMap[errorStatus](xhr, status, request); - else + else if (""+xhr.status != "200") that.failure(xhr, status, request); }; },