summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ahcp/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-10-07 19:07:36 +0200
committerJo-Philipp Wich <jow@openwrt.org>2015-10-07 19:07:36 +0200
commit281d2f617899a0c3a171a66c6a3a14e834aa000c (patch)
tree4b53f67e82b64bb506b3a219a29319b64d1c1ab2 /applications/luci-app-ahcp/luasrc
parent49a2cb5ad11ccc0225fd3fa1de4b85a0618bbb99 (diff)
Globally replace luci.dispatcher.build_url(...) with url(...) invocations
Also concat multiple string arguments into one while we're at it. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'applications/luci-app-ahcp/luasrc')
-rw-r--r--applications/luci-app-ahcp/luasrc/view/ahcp_status.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-ahcp/luasrc/view/ahcp_status.htm b/applications/luci-app-ahcp/luasrc/view/ahcp_status.htm
index 88796cb1c..946828953 100644
--- a/applications/luci-app-ahcp/luasrc/view/ahcp_status.htm
+++ b/applications/luci-app-ahcp/luasrc/view/ahcp_status.htm
@@ -1,5 +1,5 @@
<script type="text/javascript">//<![CDATA[
- XHR.poll(5, '<%=luci.dispatcher.build_url("admin", "network", "ahcpd", "status")%>', null,
+ XHR.poll(5, '<%=url('admin/network/ahcpd/status')%>', null,
function(x, st)
{
var tb = document.getElementById('ahcpd_status_table');