diff options
author | Paul Donald <newtwen+github@gmail.com> | 2024-10-25 21:41:33 +0200 |
---|---|---|
committer | Paul Donald <newtwen+github@gmail.com> | 2024-10-25 21:41:33 +0200 |
commit | f1b302d49bce91b0e25814af08c63681cf2744a5 (patch) | |
tree | c79110b1c16ece5c5268e3b63cf9c6c9627da07f /protocols/luci-proto-wireguard/htdocs/luci-static/resources | |
parent | 5d0d56ebfb05365fe2d384468ed0ecd8169027ce (diff) |
luci-proto-wireguard: make peer entries sortable
Closes #7354
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Diffstat (limited to 'protocols/luci-proto-wireguard/htdocs/luci-static/resources')
-rw-r--r-- | protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js b/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js index aeccff4150..a3ce76c96c 100644 --- a/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js +++ b/protocols/luci-proto-wireguard/htdocs/luci-static/resources/protocol/wireguard.js @@ -210,6 +210,7 @@ return network.registerProtocol('wireguard', { ss.addbtntitle = _('Add peer'); ss.nodescriptions = true; ss.modaltitle = _('Edit peer'); + ss.sortable = true; ss.handleDragConfig = function(ev) { ev.stopPropagation(); |