From b4129640b476a196594d3b9f8d1a76f0579cb22f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 26 Jul 2019 12:25:46 +0200 Subject: [PATCH] luci-base: keep polling confirmation endpoint on XHR failures Fixes: #2912 Signed-off-by: Jo-Philipp Wich --- modules/luci-base/htdocs/luci-static/resources/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }; -- 2.25.1