applications/luci-upnp: template change
This commit is contained in:
parent
b6ee173c59
commit
e3eef6dec6
1 changed files with 1 additions and 3 deletions
|
@ -17,11 +17,9 @@
|
||||||
var stxhr = new XHR();
|
var stxhr = new XHR();
|
||||||
(function() {
|
(function() {
|
||||||
stxhr.get('<%=luci.dispatcher.build_url("admin", "services", "upnp", "status")%>', null,
|
stxhr.get('<%=luci.dispatcher.build_url("admin", "services", "upnp", "status")%>', null,
|
||||||
function(x)
|
function(x, st)
|
||||||
{
|
{
|
||||||
var st = x.responseText ? eval('(' + x.responseText + ')') : null;
|
|
||||||
var tb = document.getElementById('upnp_status_table');
|
var tb = document.getElementById('upnp_status_table');
|
||||||
|
|
||||||
if (st && tb)
|
if (st && tb)
|
||||||
{
|
{
|
||||||
/* clear all rows */
|
/* clear all rows */
|
||||||
|
|
Loading…
Reference in a new issue