mirror of
https://github.com/openwrt/luci.git
synced 2025-12-21 23:34:34 +04:00
Don't apply network configuration if user clicks on "Scan" button
This commit is contained in:
@@ -89,6 +89,7 @@ end
|
||||
t2 = m:section(Table, {}, translate("iwscan"), translate("iwscan1"))
|
||||
|
||||
function scan.write(self, section)
|
||||
self.map.autoapply = false
|
||||
t2.render = t2._render
|
||||
local ifname = self.map:get(section, "ifname")
|
||||
luci.util.update(t2.data, luci.sys.wifi.iwscan(ifname))
|
||||
|
||||
Reference in New Issue
Block a user