From 121e7fea66b686cab8756ccdc0727b47afb288d2 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Thu, 20 Dec 2018 10:09:58 +0100 Subject: 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 --- applications/luci-app-upnp/luasrc/view/upnp_status.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications/luci-app-upnp/luasrc') diff --git a/applications/luci-app-upnp/luasrc/view/upnp_status.htm b/applications/luci-app-upnp/luasrc/view/upnp_status.htm index ea79e57a6a..7238a56802 100644 --- a/applications/luci-app-upnp/luasrc/view/upnp_status.htm +++ b/applications/luci-app-upnp/luasrc/view/upnp_status.htm @@ -10,7 +10,7 @@ ); } - XHR.poll(5, '<%=url('admin/services/upnp/status')%>', null, + XHR.poll(-1, '<%=url('admin/services/upnp/status')%>', null, function(x, st) { var tb = document.getElementById('upnp_status_table'); -- cgit v1.2.3