Fix bug in enumarete method of ListView

This commit is contained in:
Inez Korczynski 2011-12-09 02:07:23 +00:00
parent 2e0a0e0243
commit 4a31a6b265

View file

@ -43,7 +43,9 @@ es.ListView.prototype.enumerate = function() {
this.children[i].$icon.text( ++levels[styles.length - 1] + '.' );
} else {
this.children[i].$icon.text( '' );
levels = [];
if ( levels[styles.length - 1] ) {
levels[styles.length - 1] = 0;
}
}
}
};