summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-ncm/htdocs
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/luci-proto-ncm/htdocs')
-rw-r--r--protocols/luci-proto-ncm/htdocs/luci-static/resources/protocol/ncm.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/luci-proto-ncm/htdocs/luci-static/resources/protocol/ncm.js b/protocols/luci-proto-ncm/htdocs/luci-static/resources/protocol/ncm.js
index 3195592d97..13dee21b15 100644
--- a/protocols/luci-proto-ncm/htdocs/luci-static/resources/protocol/ncm.js
+++ b/protocols/luci-proto-ncm/htdocs/luci-static/resources/protocol/ncm.js
@@ -58,7 +58,8 @@ return network.registerProtocol('ncm', {
renderFormOptions: function(s) {
var o;
- o = s.taboption('general', form.Value, 'device', _('Modem device'));
+ o = s.taboption('general', form.Value, '_modem_device', _('Modem device'));
+ o.ucioption = 'device';
o.rmempty = false;
o.load = function(section_id) {
return callFileList('/dev/').then(L.bind(function(devices) {