summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/view
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-09-25 20:59:51 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-09-25 20:59:51 +0000
commit1f1377fdc461ef8f4faad7a95a55a3eb9431eb38 (patch)
tree43391df4706024d12dd5ef0fa4437ec8c2ccd6a1 /modules/admin-full/luasrc/view
parent630d559c2663af690bb7101ff39745e395cb5378 (diff)
modules/admin-full: fix remaining status template
Diffstat (limited to 'modules/admin-full/luasrc/view')
-rw-r--r--modules/admin-full/luasrc/view/admin_network/wifi_overview.htm10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm b/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm
index edc231e010..06725c1b91 100644
--- a/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm
+++ b/modules/admin-full/luasrc/view/admin_network/wifi_overview.htm
@@ -166,7 +166,9 @@ $Id$
);
}
- var update_status = function() {
+ (function() {
+ var func = arguments.callee;
+
iwxhr.get('<%=luci.dispatcher.build_url("admin", "network", "wireless_status", table.concat(netlist, ","))%>', null,
function(x, st)
{
@@ -336,12 +338,10 @@ $Id$
}
}
- window.setTimeout(update_status, 5000);
+ window.setTimeout(func, 5000);
}
)
- };
-
- update_status();
+ })();
//]]></script>
<h2><a id="content" name="content"><%:Wireless Overview%></a></h2>