From e3eef6dec687a168cd9bfbfcb360e6b9d7471dd0 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 15 Nov 2010 22:07:03 +0000 Subject: [PATCH] applications/luci-upnp: template change --- applications/luci-upnp/luasrc/view/upnp_status.htm | 4 +--- 1 file changed, 1 insertion(+), 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 */ -- 2.11.0