diff options
Diffstat (limited to 'modules/luci-mod-network/htdocs/luci-static/resources/view')
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js | 4 | ||||
-rw-r--r-- | modules/luci-mod-network/htdocs/luci-static/resources/view/network/hosts.js | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js index e299a3ad10..d7620e7f47 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/dhcp.js @@ -6,7 +6,7 @@ var callHostHints, callDUIDHints, callDHCPLeases, CBILeaseStatus; callHostHints = rpc.declare({ - object: 'luci', + object: 'luci-rpc', method: 'getHostHints', expect: { '': {} } }); @@ -44,8 +44,6 @@ CBILeaseStatus = form.DummyValue.extend({ }); return L.view.extend({ - - load: function() { return Promise.all([ callHostHints(), diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/hosts.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/hosts.js index 3cdea8adbe..975ac2fec7 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/hosts.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/hosts.js @@ -4,7 +4,7 @@ return L.view.extend({ callHostHints: rpc.declare({ - object: 'luci', + object: 'luci-rpc', method: 'getHostHints', expect: { '': {} } }), |