diff options
Diffstat (limited to 'applications/luci-app-adblock/luasrc/view')
-rw-r--r-- | applications/luci-app-adblock/luasrc/view/adblock/logread.htm | 2 | ||||
-rw-r--r-- | applications/luci-app-adblock/luasrc/view/adblock/runtime.htm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-adblock/luasrc/view/adblock/logread.htm b/applications/luci-app-adblock/luasrc/view/adblock/logread.htm index 7fe254ae80..48e367ec28 100644 --- a/applications/luci-app-adblock/luasrc/view/adblock/logread.htm +++ b/applications/luci-app-adblock/luasrc/view/adblock/logread.htm @@ -10,7 +10,7 @@ This is free software, licensed under the Apache License, Version 2.0 //<![CDATA[ function log_update() { - XHR.poll(5, '<%=luci.dispatcher.build_url("admin", "services", "adblock", "logread")%>', null, + XHR.poll(-1, '<%=luci.dispatcher.build_url("admin", "services", "adblock", "logread")%>', null, function(x) { if (!x) diff --git a/applications/luci-app-adblock/luasrc/view/adblock/runtime.htm b/applications/luci-app-adblock/luasrc/view/adblock/runtime.htm index 0b5c748571..72e2b0d364 100644 --- a/applications/luci-app-adblock/luasrc/view/adblock/runtime.htm +++ b/applications/luci-app-adblock/luasrc/view/adblock/runtime.htm @@ -123,7 +123,7 @@ This is free software, licensed under the Apache License, Version 2.0 status_update(json_info); }); - XHR.poll(5, '<%=luci.dispatcher.build_url("admin", "services", "adblock", "status_update")%>', null, + XHR.poll(-1, '<%=luci.dispatcher.build_url("admin", "services", "adblock", "status_update")%>', null, function(x, json_info) { if (!x || !json_info || !json_info.data) |