From: Jo-Philipp Wich Date: Fri, 26 Jul 2019 10:25:46 +0000 (+0200) Subject: luci-base: keep polling confirmation endpoint on XHR failures X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b4129640b476a196594d3b9f8d1a76f0579cb22f;p=oweals%2Fluci.git luci-base: keep polling confirmation endpoint on XHR failures Fixes: #2912 Signed-off-by: Jo-Philipp Wich --- 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); };