summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-11-15 22:07:03 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-11-15 22:07:03 +0000
commite3eef6dec687a168cd9bfbfcb360e6b9d7471dd0 (patch)
treee4989a79431029cd6d033f743977f2402978ede8 /applications
parentb6ee173c5903eaac6ee79368bfbdbded5f4f87e7 (diff)
applications/luci-upnp: template change
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-upnp/luasrc/view/upnp_status.htm4
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 ed1632b0a..3ef668e99 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 */