From fcb46d2cef74f54d61a84ca6fbfb9016b5715825 Mon Sep 17 00:00:00 2001 From: Anton Dyudin Date: Tue, 7 Apr 2015 17:13:46 -0700 Subject: [PATCH] stopped urb.js %mean retry --- main/lib/urb.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main/lib/urb.js b/main/lib/urb.js index 4d22ad515e..197378ad3f 100644 --- a/main/lib/urb.js +++ b/main/lib/urb.js @@ -103,11 +103,12 @@ window.urb.poll = function(params) { return document.location.reload() // XX check autoreload case "rush": case "mean": + var err2 = err if(res.data.type == "mean") - err = res.data.data + err2 = res.data.data var fn = $this.gsig(res.data.from) if($this.cabs[fn]) - $this.cabs[fn].call(this,err, + $this.cabs[fn].call(this,err2, {status: res.status, data: res.data.data.json}) // XX non-json break; default: