luci-0.8: merge r4417
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 9 Apr 2009 14:12:51 +0000 (14:12 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 9 Apr 2009 14:12:51 +0000 (14:12 +0000)
applications/luci-livestats/luasrc/view/livestats/wireless.htm

index 670d9fbf6cca0a4f53accfc05cf9fcfc8f087052..ca384b2f7cf466a1945590e8dfee0fa10708e70c 100644 (file)
@@ -26,8 +26,8 @@
                          padding: { left: 40, right: 10, top: 10, bottom: 20 },
                          instanceNames: {
                                <%- for k,v in pairs(luci.sys.wifi.getiwconfig()) do %>
-                                       <%-="%q:%q," % {k, "%s (%s)" % {k, tostring(v.ESSID)}}-%>
-                               <% end %>  
+                                       <%-="%q:%q," % {k, "%s (%s)" % {k, luci.util.pcdata(tostring(v.ESSID))}}-%>
+                               <% end %>
                                "0": ""
                          }},
                        null,