applications/luci-upnp: xhr fix
This commit is contained in:
parent
184523b6e7
commit
01039b7fb6
1 changed files with 5 additions and 3 deletions
|
@ -15,7 +15,7 @@
|
|||
}
|
||||
|
||||
var stxhr = new XHR();
|
||||
(function() {
|
||||
var update_status = function() {
|
||||
stxhr.get('<%=luci.dispatcher.build_url("admin", "services", "upnp", "status")%>', null,
|
||||
function(x, st)
|
||||
{
|
||||
|
@ -58,11 +58,13 @@
|
|||
tb.rows[0].parentNode.appendChild(tr);
|
||||
}
|
||||
}
|
||||
|
||||
window.setTimeout(update_status, 5000);
|
||||
}
|
||||
)
|
||||
};
|
||||
|
||||
window.setTimeout(arguments.callee, 5000);
|
||||
})();
|
||||
update_status();
|
||||
]]></script>
|
||||
|
||||
<fieldset class="cbi-section">
|
||||
|
|
Loading…
Reference in a new issue