mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2026-01-31 23:00:42 +03:00
luci: service: Stop update status when modal dialog active
This commit is contained in:
@@ -761,6 +761,11 @@ return baseclass.extend({
|
||||
},
|
||||
}),
|
||||
|
||||
isModalActive: function()
|
||||
{
|
||||
return document.body.classList.contains('modal-overlay-active');
|
||||
},
|
||||
|
||||
execAndRead: async function({ cmd = [ ], log = '', logArea = null, callback = null, ctx = null, hiderow = [ ], rpc_timeout = 5, rpc_root = false } = {})
|
||||
{
|
||||
function appendLog(msg, end = '\n')
|
||||
|
||||
Reference in New Issue
Block a user