//<![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)
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)
<script type="text/javascript">//<![CDATA[
- XHR.poll(5, '<%=url('admin/network/ahcpd/status')%>', null,
+ XHR.poll(-1, '<%=url('admin/network/ahcpd/status')%>', null,
function(x, st)
{
var tb = document.getElementById('ahcpd_status_table');
<script type="text/javascript">//<![CDATA[
-XHR.poll(5, '<%=luci.dispatcher.build_url("admin/services/aria2/status")%>', null,
+XHR.poll(-1, '<%=luci.dispatcher.build_url("admin/services/aria2/status")%>', null,
function(x, data) {
var tb = document.getElementById('aria2_status');
if (data && tb) {
//<![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)
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)
// 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); }
}
<script type="text/javascript">//<![CDATA[
-XHR.poll(5, '<%=url('admin/telephony/status')%>', null,
+XHR.poll(-1, '<%=url('admin/telephony/status')%>', null,
function(x, st)
{
var tb = document.getElementById('telephony_status_table');
<script type="text/javascript">//<![CDATA[
- XHR.poll(5, '<%=url("admin/services/minidlna_status")%>', null,
+ XHR.poll(-1, '<%=url("admin/services/minidlna_status")%>', null,
function(x, st)
{
var tb = document.getElementById('minidlna_status');
-%>
<script type="text/javascript">//<![CDATA[
-XHR.poll(5, '<%=luci.dispatcher.build_url("admin", "status", "mwan", "interface_status")%>', null,
+XHR.poll(-1, '<%=luci.dispatcher.build_url("admin", "status", "mwan", "interface_status")%>', null,
function(x, status)
{
var statusDiv = document.getElementById('mwan_status_text');
</ul>
<script type="text/javascript">//<![CDATA[
- XHR.poll(5, '<%=luci.dispatcher.build_url("admin", "status", "mwan", "detailed_status")%>', null,
+ XHR.poll(-1, '<%=luci.dispatcher.build_url("admin", "status", "mwan", "detailed_status")%>', null,
function(x)
{
var output = document.getElementById('diag-rc-output');
);
}
- XHR.poll(5, '<%=url('admin/services/ocserv/status')%>', null,
+ XHR.poll(-1, '<%=url('admin/services/ocserv/status')%>', null,
function(x, st)
{
var tb = document.getElementById('ocserv_status_table');
);
}
- XHR.poll(5, '<%=url('admin/services/privoxy/status')%>', null,
+ XHR.poll(-1, '<%=url('admin/services/privoxy/status')%>', null,
function(x, data) { _data2elements(x); }
);
);
}
- XHR.poll(5, '<%=url([[admin/services/radicale/status]])%>', null,
+ XHR.poll(-1, '<%=url([[admin/services/radicale/status]])%>', null,
function(x, data) { _data2elements(x); }
);
<input type="submit" class="cbi-button cbi-button-add" name="cbi.cts.<%=self.config%>" value="<%:Add%>" />
</div>
<script type="text/javascript">//<![CDATA[
- XHR.poll(5, '<%=url('admin/services/shadowsocks-libev/status')%>', null,
+ XHR.poll(-1, '<%=url('admin/services/shadowsocks-libev/status')%>', null,
function(x, st)
{
var names = [
//<![CDATA[
function log_update()
{
- XHR.poll(5, '<%=luci.dispatcher.build_url("admin", "services", "travelmate", "logread")%>', null,
+ XHR.poll(-1, '<%=luci.dispatcher.build_url("admin", "services", "travelmate", "logread")%>', null,
function(x)
{
if (!x)
status_update(json_info)
});
- XHR.poll(5, '<%=luci.dispatcher.build_url("admin", "services", "travelmate", "status")%>', null,
+ XHR.poll(-1, '<%=luci.dispatcher.build_url("admin", "services", "travelmate", "status")%>', null,
function(x, json_info)
{
if (!x || !json_info)
status_update(json_info)
});
- XHR.poll(5, '<%=luci.dispatcher.build_url("admin", "services", "travelmate", "status")%>', null,
+ XHR.poll(-1, '<%=luci.dispatcher.build_url("admin", "services", "travelmate", "status")%>', null,
function(x, json_info)
{
if (!x || !json_info)
);
}
- 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');
}
}
- XHR.poll(5, '<%=REQUEST_URI%>', { status: 1 },
+ XHR.poll(-1, '<%=REQUEST_URI%>', { status: 1 },
function(x, data) {
for (var key in data) {
if (!data.hasOwnProperty(key)) { continue; }