diff options
Diffstat (limited to 'applications/luci-upnp')
-rw-r--r-- | applications/luci-upnp/luasrc/view/upnp_status.htm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/applications/luci-upnp/luasrc/view/upnp_status.htm b/applications/luci-upnp/luasrc/view/upnp_status.htm index ed1632b0ab..3ef668e991 100644 --- a/applications/luci-upnp/luasrc/view/upnp_status.htm +++ b/applications/luci-upnp/luasrc/view/upnp_status.htm @@ -17,11 +17,9 @@ var stxhr = new XHR(); (function() { 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'); - if (st && tb) { /* clear all rows */ |