luci2: fix typo in LuCI2.firewall.getZoneColor()
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 31 Jan 2014 21:38:42 +0000 (21:38 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 31 Jan 2014 21:38:42 +0000 (21:38 +0000)
luci2/htdocs/luci2/luci2.js

index 8d250cd626eeb68bd939e75e91d0b82f076e2272..f41a8193ee3f6d8038b1456f96630d63a9a69a8b 100644 (file)
@@ -1320,7 +1320,7 @@ function LuCI2()
 
                        for (var i = 0, color = '#';
                                 i < 3;
-                                color += ('00' + ((hash >> i++ * 8) & 0xFF).tozoneing(16)).slice(-2));
+                                color += ('00' + ((hash >> i++ * 8) & 0xFF).tostring(16)).slice(-2));
 
                        return color;
                },