diff options
author | Hsing-Wang Liao <kuoruan@gmail.com> | 2016-09-19 10:20:36 +0800 |
---|---|---|
committer | Hsing-Wang Liao <kuoruan@gmail.com> | 2016-09-19 18:15:25 +0800 |
commit | a4c8c206477b1c8d4fb60dcb73d777c9c9183e81 (patch) | |
tree | a99e1fa69b5a9c6466f5534ef665ba6392573c35 /applications/luci-app-aria2/luasrc/view | |
parent | 3d40befbdd556414bc0d5c5d566ed2841f0fa2e8 (diff) |
luci-app-aria2: fix bugs and add log option
* Fix unable save authentication method;
* Use luci.dispatcher.build_url(...) to support Chaos Calmer;
* Add log file and log level options;
* Rename files.
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
Diffstat (limited to 'applications/luci-app-aria2/luasrc/view')
-rw-r--r-- | applications/luci-app-aria2/luasrc/view/aria2/overview_status.htm (renamed from applications/luci-app-aria2/luasrc/view/aria2/web_script.htm) | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-aria2/luasrc/view/aria2/web_script.htm b/applications/luci-app-aria2/luasrc/view/aria2/overview_status.htm index 933c6af702..b14cca228f 100644 --- a/applications/luci-app-aria2/luasrc/view/aria2/web_script.htm +++ b/applications/luci-app-aria2/luasrc/view/aria2/overview_status.htm @@ -1,5 +1,5 @@ <script type="text/javascript">//<![CDATA[ -XHR.poll(5, '<%=url([[admin]], [[services]], [[aria2]], [[status]])%>', null, +XHR.poll(5, '<%=luci.dispatcher.build_url("admin/services/aria2/status")%>', null, function(x, data) { var tb = document.getElementById('aria2_status'); if (data && tb) { |