git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
eb6678c
)
applications/luci-qos: fix disabling
author
Jo-Philipp Wich
<redacted>
Sat, 15 May 2010 18:46:58 +0000
(18:46 +0000)
committer
Jo-Philipp Wich
<redacted>
Sat, 15 May 2010 18:46:58 +0000
(18:46 +0000)
applications/luci-qos/luasrc/model/cbi/qos/qos.lua
patch
|
blob
|
history
diff --git
a/applications/luci-qos/luasrc/model/cbi/qos/qos.lua
b/applications/luci-qos/luasrc/model/cbi/qos/qos.lua
index 026099e29efb9430f126375095aa4ed5a53cc099..af481fd3aa8410bfa41fe6266f69a3841b21281d 100644
(file)
--- 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"))
git clone https://git.99rst.org/PROJECT