summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-adblock/luasrc/view
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2017-04-04 14:11:41 +0200
committerDirk Brenken <dev@brenken.org>2017-04-04 14:11:41 +0200
commit03ae05549d4dc3fd705a110192ad84bf144298c0 (patch)
tree12e0722b4945877227312253c7c0b87b141cedd6 /applications/luci-app-adblock/luasrc/view
parent3dc08a354b4f5212fdaf54764729a025a14167cf (diff)
luci-app-adblock: sync with adblock 2.5.1
* made buttons translatable * accept empty values for interface trigger input field * replace 'url' with 'luci.dispatcher.build_url' Signed-off-by: Dirk Brenken <dev@brenken.org>
Diffstat (limited to 'applications/luci-app-adblock/luasrc/view')
-rw-r--r--applications/luci-app-adblock/luasrc/view/adblock/query.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-adblock/luasrc/view/adblock/query.htm b/applications/luci-app-adblock/luasrc/view/adblock/query.htm
index be606301ec..5e064af858 100644
--- a/applications/luci-app-adblock/luasrc/view/adblock/query.htm
+++ b/applications/luci-app-adblock/luasrc/view/adblock/query.htm
@@ -25,7 +25,7 @@ This is free software, licensed under the Apache License, Version 2.0
;
input.parentNode.style.display = 'block';
input.style.display = 'inline';
- stxhr.post('<%=url('admin/services/adblock/advanced/result/')%>' + domain, { token: '<%=token%>' },
+ stxhr.post('<%=luci.dispatcher.build_url('admin/services/adblock/advanced/result/')%>' + domain, { token: '<%=token%>' },
function(x)
{
if (x.responseText)