luci-app-olsr: handle empty result for non-status tables
[oweals/luci.git] / modules / luci-mod-network / htdocs / luci-static / resources / view / network / wifi_status.js
index 7e14d999bdc79509273e905b07a841a8de095959..108a141f88a29f524d67a8859c7b05e795b0b10c 100644 (file)
@@ -39,7 +39,7 @@ requestAnimationFrame(function() {
 
                        L.itemlist(info, [
                                _('Mode'),       iw.mode,
-                               _('SSID'),       '%h'.format(iw.ssid || '?'),
+                               _('SSID'),       iw.ssid || '?',
                                _('BSSID'),      is_assoc ? iw.bssid : null,
                                _('Encryption'), is_assoc ? iw.encryption || _('None') : null,
                                _('Channel'),    is_assoc ? '%d (%.3f %s)'.format(iw.channel, iw.frequency || 0, _('GHz')) : null,