projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Globally replace luci.dispatcher.build_url(...) with url(...) invocations
[project/luci.git]
/
applications
/
luci-app-ddns
/
luasrc
/
view
/
ddns
/
system_status.htm
diff --git
a/applications/luci-app-ddns/luasrc/view/ddns/system_status.htm
b/applications/luci-app-ddns/luasrc/view/ddns/system_status.htm
index
4ca0abb
..
06dca48
100644
(file)
--- a/
applications/luci-app-ddns/luasrc/view/ddns/system_status.htm
+++ b/
applications/luci-app-ddns/luasrc/view/ddns/system_status.htm
@@
-111,13
+111,13
@@
}
// force to immediate show status (not waiting for XHR.poll)
}
// force to immediate show status (not waiting for XHR.poll)
- XHR.get('<%=
luci.dispatcher.build_url("admin", "services", "ddns", "status"
)%>', null,
+ XHR.get('<%=
url('admin/services/ddns/status'
)%>', null,
function(x, data) {
if (data) { _data2elements(x, data); }
}
);
function(x, data) {
if (data) { _data2elements(x, data); }
}
);
- XHR.poll(5, '<%=
luci.dispatcher.build_url("admin", "services", "ddns", "status"
)%>', null,
+ XHR.poll(5, '<%=
url('admin/services/ddns/status'
)%>', null,
function(x, data) {
if (data) { _data2elements(x, data); }
}
function(x, data) {
if (data) { _data2elements(x, data); }
}
@@
-126,7
+126,7
@@
//]]></script>
<fieldset class="cbi-section" id="ddns_status_section">
//]]></script>
<fieldset class="cbi-section" id="ddns_status_section">
- <legend><a href="<%=
luci.dispatcher.build_
url([[admin]], [[services]], [[ddns]])%>"><%:Dynamic DNS%></a></legend>
+ <legend><a href="<%=url([[admin]], [[services]], [[ddns]])%>"><%:Dynamic DNS%></a></legend>
<table class="cbi-section-table" id="ddns_status_table">
<tr class="cbi-section-table-titles">
<table class="cbi-section-table" id="ddns_status_table">
<tr class="cbi-section-table-titles">