From ab7e45cadb2b25ef2316ccd35d73f216d2f047cc Mon Sep 17 00:00:00 2001 From: Nicholas Smith Date: Thu, 7 Jan 2021 21:57:37 +1000 Subject: luci-proto-modemmanager: add support for specifying signal refresh rate Signed-off-by: Nicholas Smith --- .../htdocs/luci-static/resources/protocol/modemmanager.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'protocols/luci-proto-modemmanager') diff --git a/protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js b/protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js index 646e10a948..4a6913e8bd 100644 --- a/protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js +++ b/protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js @@ -121,6 +121,9 @@ return network.registerProtocol('modemmanager', { o.placeholder = dev ? (dev.getMTU() || '1500') : '1500'; o.datatype = 'max(9200)'; + o = s.taboption('general', form.Value, 'signalrate', _('Signal Refresh Rate'), _("In seconds")); + o.datatype = 'uinteger'; + s.taboption('general', form.Value, 'metric', _('Gateway metric')); } -- cgit v1.2.3