mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2026-02-01 07:10:40 +03:00
luci: service: Stop update status when modal dialog active
This commit is contained in:
@@ -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)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user