summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-ppp/htdocs/luci-static
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/luci-proto-ppp/htdocs/luci-static')
-rw-r--r--protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/ppp.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/ppp.js b/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/ppp.js
index 6df468f9e3..49ac8c4f89 100644
--- a/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/ppp.js
+++ b/protocols/luci-proto-ppp/htdocs/luci-static/resources/protocol/ppp.js
@@ -70,7 +70,8 @@ return network.registerProtocol('ppp', {
renderFormOptions: function(s) {
var dev = this.getL3Device() || this.getDevice(), 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) {