- Mode dynamic way to declare new icons.

This commit is contained in:
Paulo Gustavo Veiga
2011-03-21 17:38:05 -03:00
parent 5d0d837062
commit 107e559364
31 changed files with 95 additions and 301 deletions

View File

@@ -461,7 +461,7 @@ function buildIconChooser() {
var count = 0;
for (var i = 0; i < mindplot.ImageIcon.prototype.ICON_FAMILIES.length; i = i + 1)
{
var familyIcons = mindplot.ImageIcon.prototype.ICON_FAMILIES[i];
var familyIcons = mindplot.ImageIcon.prototype.ICON_FAMILIES[i].icons;
for (var j = 0; j < familyIcons.length; j = j + 1)
{
// Separate icons by line ...