luci-base: keep polling confirmation endpoint on XHR failures

Fixes: #2912
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2019-07-26 12:25:46 +02:00
parent 28aafc0dd4
commit b4129640b4

View file

@ -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);
};