diff options
Diffstat (limited to 'luci2/htdocs/luci2/proto/static.js')
-rw-r--r-- | luci2/htdocs/luci2/proto/static.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/luci2/htdocs/luci2/proto/static.js b/luci2/htdocs/luci2/proto/static.js index e9b9580..c1697af 100644 --- a/luci2/htdocs/luci2/proto/static.js +++ b/luci2/htdocs/luci2/proto/static.js @@ -1,4 +1,4 @@ -L.NetworkModel.Protocol.extend({ +L.network.Protocol.extend({ protocol: 'static', description: L.tr('Static address'), tunnel: false, @@ -39,7 +39,7 @@ L.NetworkModel.Protocol.extend({ populateForm: function(section, iface) { - var device = L.NetworkModel.getDeviceByInterface(iface); + var device = L.network.getDeviceByInterface(iface); section.taboption('general', L.cbi.InputValue, 'ipaddr', { caption: L.tr('IPv4 address'), |