Browse Source

luci-mod-network: allow sorting static leases

Fixes: #5453
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit f4f64b91ca)
openwrt-21.02
Jo-Philipp Wich 1 month ago
parent
commit
d744c54220
  1. 1
      modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js

1
modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js

@ -504,6 +504,7 @@ return view.extend({
ss.addremove = true;
ss.anonymous = true;
ss.sortable = true;
so = ss.option(form.Value, 'name', _('Hostname'));
so.validate = validateHostname;

Loading…
Cancel
Save