diff options
author | Erik Karlsson <erik.karlsson@genexis.eu> | 2023-04-16 22:19:45 +0200 |
---|---|---|
committer | Paul Donald <itsascambutmailmeanyway@gmail.com> | 2024-03-17 00:11:14 +0100 |
commit | 6abb5ed7095032fdf8d2c9e2cac3218db99b19e5 (patch) | |
tree | 046b1eba72efd1dbebc20901506b0b8ddf7ce920 /applications | |
parent | c88e24772e50cb9e58d6707f1082d9ceb3a8b3e1 (diff) |
luci-base: ui.js: avoid polling in a tight loop on confirm/rollback
The call function was based on the legacy XHR interface and it has not
been updated to comply with the new request interface which passes the
duration as part of the response object rather than as a separate
argument. This resulted in polling in a tight loop in certain cases
since the duration was undefined.
In addition there is no need to adjust apply_holdoff based on elapsed
time as no significant amount of time has elapsed at this point.
Signed-off-by: Erik Karlsson <erik.karlsson@genexis.eu>
Diffstat (limited to 'applications')
0 files changed, 0 insertions, 0 deletions