summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-ddns/luasrc
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2018-12-20 10:09:58 +0100
committerFlorian Eckert <fe@dev.tdt.de>2018-12-20 10:20:23 +0100
commit121e7fea66b686cab8756ccdc0727b47afb288d2 (patch)
treea44b04abdf003ac5f7ed539c9a5c1ce0db7cb000 /applications/luci-app-ddns/luasrc
parent6475221d54be41dbfa4639c4cef5046b186e296f (diff)
luci-app-*: use default poll interval
Replace all XHR poll time number with -1 so they will use the default poll interval time value from "/etc/config/luci". If this is not set then 5 seconds as default is used. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-ddns/luasrc')
-rw-r--r--applications/luci-app-ddns/luasrc/view/ddns/overview_status.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-ddns/luasrc/view/ddns/overview_status.htm b/applications/luci-app-ddns/luasrc/view/ddns/overview_status.htm
index f3f45e0d0..b6e89775c 100644
--- a/applications/luci-app-ddns/luasrc/view/ddns/overview_status.htm
+++ b/applications/luci-app-ddns/luasrc/view/ddns/overview_status.htm
@@ -164,7 +164,7 @@
// define only ONE XHR.poll in a page because if one is running it blocks the other one
// optimum is to define on Map or Section Level from here you can reach all elements
// we need update every 15 seconds only
- XHR.poll(5, '<%=url([[admin]], [[services]], [[ddns]], [[status]])%>', null,
+ XHR.poll(-1, '<%=url([[admin]], [[services]], [[ddns]], [[status]])%>', null,
function(x, data) {
if (data) { _data2elements(data); }
}