diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-05-15 18:46:58 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-05-15 18:46:58 +0000 |
commit | 3e923e0a23e80695620bc48a0e8aa81b43ca6e18 (patch) | |
tree | 5aecfd7af18cffc21f2cd49e3dd11974e18658f9 /applications/luci-qos/luasrc/model/cbi | |
parent | eb6678c59a010bd685cf6158bcc14336fd3debd7 (diff) |
applications/luci-qos: fix disabling
Diffstat (limited to 'applications/luci-qos/luasrc/model/cbi')
-rw-r--r-- | applications/luci-qos/luasrc/model/cbi/qos/qos.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/applications/luci-qos/luasrc/model/cbi/qos/qos.lua b/applications/luci-qos/luasrc/model/cbi/qos/qos.lua index 026099e29..af481fd3a 100644 --- a/applications/luci-qos/luasrc/model/cbi/qos/qos.lua +++ b/applications/luci-qos/luasrc/model/cbi/qos/qos.lua @@ -24,7 +24,8 @@ s = m:section(TypedSection, "interface", translate("Interfaces")) s.addremove = true s.anonymous = false -s:option(Flag, "enabled", translate("Enable")) +e = s:option(Flag, "enabled", translate("Enable")) +e.rmempty = false c = s:option(ListValue, "classgroup", translate("Classification group")) c:value("Default", translate("default")) |