diff options
author | Steven Barth <steven@midlink.org> | 2008-12-10 20:31:09 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-12-10 20:31:09 +0000 |
commit | 8e62419bcbdc8d61de6baca241dd1d559c3a6735 (patch) | |
tree | 7fd46c75604406c45cf8c785ad63344c2ff9c795 /modules/admin-mini/luasrc/model/cbi | |
parent | a02f12cf2e2becfe976faa6ff1e5a585c78a513d (diff) |
Don't apply network configuration if user clicks on "Scan" button
Diffstat (limited to 'modules/admin-mini/luasrc/model/cbi')
-rw-r--r-- | modules/admin-mini/luasrc/model/cbi/mini/wifi.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua index 7327b9e1d..848130e2f 100644 --- a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua +++ b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua @@ -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)) |