summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-qos
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-06-25 23:17:10 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-06-25 23:17:10 +0000
commit69e6abaeab942b1c503b1fae9a7cd10ffe8822f4 (patch)
treee9f8d212ea9da587143a040fe9a866f931548a41 /applications/luci-qos
parentded8dae503049a640c197c64705d33aaf669c062 (diff)
applicaitons/luci-qos: make classification rules sortable (#259)
Diffstat (limited to 'applications/luci-qos')
-rw-r--r--applications/luci-qos/luasrc/model/cbi/qos/qos.lua1
-rw-r--r--applications/luci-qos/luasrc/model/cbi/qos/qosmini.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/applications/luci-qos/luasrc/model/cbi/qos/qos.lua b/applications/luci-qos/luasrc/model/cbi/qos/qos.lua
index 8d852e750..98e9a2507 100644
--- a/applications/luci-qos/luasrc/model/cbi/qos/qos.lua
+++ b/applications/luci-qos/luasrc/model/cbi/qos/qos.lua
@@ -43,6 +43,7 @@ s = m:section(TypedSection, "classify", translate("Classification Rules"))
s.template = "cbi/tblsection"
s.anonymous = true
s.addremove = true
+s.sortable = true
t = s:option(ListValue, "target", translate("Target"))
t:value("Priority", translate("priority"))
diff --git a/applications/luci-qos/luasrc/model/cbi/qos/qosmini.lua b/applications/luci-qos/luasrc/model/cbi/qos/qosmini.lua
index fb2298f8e..9ffefec4f 100644
--- a/applications/luci-qos/luasrc/model/cbi/qos/qosmini.lua
+++ b/applications/luci-qos/luasrc/model/cbi/qos/qosmini.lua
@@ -29,6 +29,7 @@ s.template = "cbi/tblsection"
s.anonymous = true
s.addremove = true
+s.sortable = true
t = s:option(ListValue, "target")
t:value("Priority", translate("priority"))