diff options
author | Florian Eckert <fe@dev.tdt.de> | 2021-01-11 11:05:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-11 11:05:21 +0100 |
commit | ea3c4a216c63f87324f754f2c135c62a4db052ec (patch) | |
tree | a56fee83277c335d37f3dea9e2ee72557a2e2a25 | |
parent | 40288b0b6dba0599190072639cbe1d89b52958fb (diff) | |
parent | ab7e45cadb2b25ef2316ccd35d73f216d2f047cc (diff) |
Merge pull request #4717 from nickberry17/mm_proto
luci-proto-modemmanager: add support for specifying signal refresh rate
-rw-r--r-- | protocols/luci-proto-modemmanager/htdocs/luci-static/resources/protocol/modemmanager.js | 3 |
1 files changed, 3 insertions, 0 deletions
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')); } |