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 68087dcf5e2a938a4c27499ac125c31855f93d08..811b5e9b8f6f61149388dc43b54e82a3a39b18ff 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")