luci-0.9: merge r6165
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 15 May 2010 18:49:20 +0000 (18:49 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 15 May 2010 18:49:20 +0000 (18:49 +0000)
applications/luci-qos/luasrc/model/cbi/qos/qos.lua

index 68087dc..811b5e9 100644 (file)
@@ -21,7 +21,8 @@ s = m:section(TypedSection, "interface", translate("interfaces"))
 s.addremove = true
 s.anonymous = true
 
-s:option(Flag, "enabled", translate("enable"))
+e = s:option(Flag, "enabled", translate("enable"))
+e.rmempty = false
 
 c = s:option(ListValue, "classgroup")
 c:value("Default", "standard")