luci: service: Stop update status when modal dialog active

This commit is contained in:
remittor
2026-01-31 13:12:27 +03:00
parent 8302ed517f
commit 01a1b8801d
2 changed files with 9 additions and 0 deletions

View File

@@ -175,6 +175,10 @@ return view.extend({
statusPoll: function()
{
if (tools.isModalActive()) {
this.POLL.running = false;
return; // not update page when any modal dialog is active
}
this.getAppStatus().then(
L.bind(this.setAppStatus, this)
);