applicaitons/luci-qos: make classification rules sortable (#259)
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 25 Jun 2011 23:17:10 +0000 (23:17 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 25 Jun 2011 23:17:10 +0000 (23:17 +0000)
applications/luci-qos/luasrc/model/cbi/qos/qos.lua
applications/luci-qos/luasrc/model/cbi/qos/qosmini.lua

index 8d852e75083ca0638fd6a44fdd34031256f7775a..98e9a250701ce08ed306af911170e3cafe55623e 100644 (file)
@@ -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"))
index fb2298f8e7ae0a6ec4d456443017ff45bffdf478..9ffefec4f16b96d0f8d598507b0d2d9ac0306eb7 100644 (file)
@@ -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"))