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-privoxy
/
luasrc
/
view
/
privoxy
/
detail_logview.htm
diff --git
a/applications/luci-app-privoxy/luasrc/view/privoxy/detail_logview.htm
b/applications/luci-app-privoxy/luasrc/view/privoxy/detail_logview.htm
old mode 100755
(executable)
new mode 100644
(file)
index
3e19070
..
ab0019b
--- a/
applications/luci-app-privoxy/luasrc/view/privoxy/detail_logview.htm
+++ b/
applications/luci-app-privoxy/luasrc/view/privoxy/detail_logview.htm
@@
-6,7
+6,7
@@
var txt = document.getElementById("cbid.privoxy.privoxy._logview.txt"); // TextArea
if ( !txt ) { return; } // security check
var lvXHR = new XHR();
var txt = document.getElementById("cbid.privoxy.privoxy._logview.txt"); // TextArea
if ( !txt ) { return; } // security check
var lvXHR = new XHR();
- lvXHR.get('<%=
luci.dispatcher.build_url("admin", "services", "privoxy", "logview"
)%>', null,
+ lvXHR.get('<%=
url('admin/services/privoxy/logview'
)%>', null,
function(x) {
if (x.responseText == "_nodata_")
txt.value = "<%:File not found or empty%>";
function(x) {
if (x.responseText == "_nodata_")
txt.value = "<%:File not found or empty%>";