From f1b302d49bce91b0e25814af08c63681cf2744a5 Mon Sep 17 00:00:00 2001 From: Paul Donald Date: Fri, 25 Oct 2024 21:41:33 +0200 Subject: luci-proto-wireguard: make peer entries sortable Closes #7354 Signed-off-by: Paul Donald --- .../htdocs/luci-static/resources/protocol/wireguard.js | 1 + 1 file changed, 1 insertion(+) (limited to 'protocols/luci-proto-wireguard/htdocs/luci-static/resources') 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(); -- cgit v1.2.3