diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-12-20 10:52:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-20 10:52:06 +0100 |
commit | 5aa2d3a77f2c77af8fbabf0a18c33e1c4b0cd1d9 (patch) | |
tree | 3a65d1102d52881f10b3515e1f1863833bcd9a52 /applications/luci-app-banip | |
parent | aee720f11f0c09b3a67a70c6a863bac9c15fe1dc (diff) | |
parent | 3b9ba0210e9da62861f260b4ed367e2a05789afe (diff) |
Merge pull request #2351 from TDT-AG/pr/20181204-modules
modules: use configurable poll interval
Diffstat (limited to 'applications/luci-app-banip')
-rw-r--r-- | applications/luci-app-banip/luasrc/view/banip/logview.htm | 2 | ||||
-rw-r--r-- | applications/luci-app-banip/luasrc/view/banip/runtime.htm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-app-banip/luasrc/view/banip/logview.htm b/applications/luci-app-banip/luasrc/view/banip/logview.htm index d298b24de1..86f1ea64fa 100644 --- a/applications/luci-app-banip/luasrc/view/banip/logview.htm +++ b/applications/luci-app-banip/luasrc/view/banip/logview.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", "banip", "logview")%>', null, + XHR.poll(-1, '<%=luci.dispatcher.build_url("admin", "services", "banip", "logview")%>', null, function(x) { if (!x) diff --git a/applications/luci-app-banip/luasrc/view/banip/runtime.htm b/applications/luci-app-banip/luasrc/view/banip/runtime.htm index 65a58bd374..08ef90399d 100644 --- a/applications/luci-app-banip/luasrc/view/banip/runtime.htm +++ b/applications/luci-app-banip/luasrc/view/banip/runtime.htm @@ -76,7 +76,7 @@ function btn_action(action) status_update(json_info) }); - XHR.poll(5, '<%=luci.dispatcher.build_url("admin", "services", "banip", "status")%>', null, + XHR.poll(-1, '<%=luci.dispatcher.build_url("admin", "services", "banip", "status")%>', null, function(x, json_info) { if (!x || !json_info) |