modules/admin-full: various javascript fixes in templates
[project/luci.git] / modules / admin-full / luasrc / view / admin_network / iface_status.htm
index 508ccbb..69ae052 100644 (file)
@@ -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');