refactored a little bit

This commit is contained in:
Athou
2013-04-30 22:20:39 +02:00
parent e01da0645d
commit f9aa4995f9
4 changed files with 11 additions and 8 deletions

View File

@@ -104,7 +104,7 @@ function($resource, $http) {
array.push({
id : category.id,
name : name,
origName: category.name
orig: category
});
if (category.children) {
for ( var i = 0; i < category.children.length; i++) {