summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-07-26 12:25:46 +0200
committerJo-Philipp Wich <jo@mein.io>2019-07-26 12:25:46 +0200
commitb4129640b476a196594d3b9f8d1a76f0579cb22f (patch)
treed4400248231f973c159df2b18017a4844a9104b2
parent28aafc0dd48777a18cbb6234e4b82e3518a06bde (diff)
luci-base: keep polling confirmation endpoint on XHR failures
Fixes: #2912 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--modules/luci-base/htdocs/luci-static/resources/ui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/ui.js b/modules/luci-base/htdocs/luci-static/resources/ui.js
index 1a98dbcc9..43afc698f 100644
--- a/modules/luci-base/htdocs/luci-static/resources/ui.js
+++ b/modules/luci-base/htdocs/luci-static/resources/ui.js
@@ -1929,7 +1929,7 @@ return L.Class.extend({
method: 'post',
timeout: L.env.apply_timeout * 1000,
query: L.ui.changes.confirm_auth
- }).then(call);
+ }).then(call, call);
}, delay);
};