luci-app-ssr-plus: auto-switch sortable

This commit is contained in:
coolsnowwolf 2020-02-20 15:47:10 +08:00 committed by GitHub
parent 9fedd2b379
commit 1f34a3c94b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,6 +82,7 @@ s.anonymous = true
s.addremove = true
s.sortable = false
s.template = "cbi/tblsection"
s.sortable = true
s.extedit = luci.dispatcher.build_url("admin/services/shadowsocksr/servers/%s")
function s.create(...)
local sid = TypedSection.create(...)