summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/view/admin_network
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-09-25 20:51:03 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-09-25 20:51:03 +0000
commite3435a49e9ba289d6e43758fbcbc29804f7bbbc1 (patch)
tree0599bf9d3ff4df760897d3e65bf08b9cb6e54ffb /modules/admin-full/luasrc/view/admin_network
parentea6f5379dc147bdc83b687a8bbf011edd07d16fc (diff)
modules/admin-full: various javascript fixes in templates
Diffstat (limited to 'modules/admin-full/luasrc/view/admin_network')
-rw-r--r--modules/admin-full/luasrc/view/admin_network/iface_status.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/view/admin_network/iface_status.htm b/modules/admin-full/luasrc/view/admin_network/iface_status.htm
index 508ccbb928..69ae052723 100644
--- a/modules/admin-full/luasrc/view/admin_network/iface_status.htm
+++ b/modules/admin-full/luasrc/view/admin_network/iface_status.htm
@@ -19,7 +19,7 @@
'<img src="<%=resource%>/icons/%s%s.png" style="width:16px; height:16px" />' +
'<br /><small>%s</small>',
ifc.type, ifc.is_up ? '' : '_disabled',
- ifc.name
+ ifc.is_up ? ifc.ifname : '?'
);
var d = document.getElementById('<%=self.option%>-ifc-description');