From: Jo-Philipp Wich Date: Mon, 15 Nov 2010 22:07:03 +0000 (+0000) Subject: applications/luci-upnp: template change X-Git-Tag: 0.10.0~482 X-Git-Url: http://git.archive.openwrt.org/?a=commitdiff_plain;h=e3eef6dec687a168cd9bfbfcb360e6b9d7471dd0;p=project%2Fluci.git applications/luci-upnp: template change --- 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 */