From f917d859af13f14d0df35403b4cd64d09f5dd97e Mon Sep 17 00:00:00 2001 From: Anton Dyudin Date: Thu, 16 Apr 2015 15:45:18 -0700 Subject: [PATCH] urb.wall disableable by setting urb.wal===false --- main/lib/urb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/lib/urb.js b/main/lib/urb.js index 38f8630e6e..1e5fe2b445 100644 --- a/main/lib/urb.js +++ b/main/lib/urb.js @@ -33,7 +33,7 @@ window.urb.req = function(method,url,params,json,cb) { if(res.data.reload) res.reload = res.data.reload } catch(e) { - if(urb.wall || true) document.write(this.responseText) // XX + if(urb.wall !== false) document.write(this.responseText) // XX err = { message:"Failed to parse JSON", raw:this.responseText