From 37b6092aef9f875b95debdafba7da9933fc10a34 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 31 Oct 2019 14:37:07 +0100 Subject: luci-base, luci-mod-network, luci-app-firewall: migrate luci/getHostHints Signed-off-by: Jo-Philipp Wich --- .../htdocs/luci-static/resources/view/firewall/forwards.js | 2 +- .../htdocs/luci-static/resources/view/firewall/rules.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'applications/luci-app-firewall') diff --git a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js index 80938711e..dc2249275 100644 --- a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js +++ b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js @@ -74,7 +74,7 @@ function forward_via_txt(s) { return L.view.extend({ callHostHints: rpc.declare({ - object: 'luci', + object: 'luci-rpc', method: 'getHostHints', expect: { '': {} } }), diff --git a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js index 6df3bc7f8..f40e0c73e 100644 --- a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js +++ b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js @@ -111,7 +111,7 @@ function rule_target_txt(s) { return L.view.extend({ callHostHints: rpc.declare({ - object: 'luci', + object: 'luci-rpc', method: 'getHostHints', expect: { '': {} } }), -- cgit v1.2.3