forked from 0x2620/pandora
list might have gone
This commit is contained in:
parent
098d953bbc
commit
cabcbeb35d
1 changed files with 3 additions and 1 deletions
|
@ -478,7 +478,9 @@ pandora.ui.folderList = function(id, section) {
|
|||
},
|
||||
range: [0, 1]
|
||||
}, function(result) {
|
||||
that.value(item, 'items', result.data.items[0].items);
|
||||
if(result.data.items && result.data.items.length) {
|
||||
that.value(item, 'items', result.data.items[0].items);
|
||||
}
|
||||
callback();
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue