diff options
author | Steven Barth <steven@midlink.org> | 2008-07-30 19:01:07 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-07-30 19:01:07 +0000 |
commit | 5c7ab6430647c7f505caa89180f8e4907329862d (patch) | |
tree | f6588b00c957bcbd440024713d6e246219d72da2 /modules/admin-mini/luasrc | |
parent | 8c3ee6f9b7e5ab0b4edbf4838c7c1a9ee6d7df5d (diff) |
libs/cbi: Fixed CBI handling of "Save & Apply"
Diffstat (limited to 'modules/admin-mini/luasrc')
-rw-r--r-- | modules/admin-mini/luasrc/model/cbi/mini/wifi.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua index 30766a47c..2890a78a3 100644 --- a/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua +++ b/modules/admin-mini/luasrc/model/cbi/mini/wifi.lua @@ -13,6 +13,7 @@ You may obtain a copy of the License at $Id$ ]]-- m = Map("wireless", translate("wifi"), translate("a_w_devices1")) +m:chain("network") s = m:section(TypedSection, "wifi-device", translate("devices")) @@ -67,8 +68,6 @@ function mode.write(self, section, value) luci.model.uci.set("network", "wan", "_ifname", oldif) end luci.model.uci.set("network", "wan", "ifname", " ") - luci.model.uci.save("network") - luci.model.uci.unload("network") self.map:set(section, "network", "wan") else |