forked from 0x2620/pandora
fix onload error related to live list count update
This commit is contained in:
parent
cd3060c567
commit
8e4b3cff55
1 changed files with 5 additions and 1 deletions
|
@ -406,7 +406,11 @@ pandora.ui.list = function() {
|
|||
) {
|
||||
list = find.conditions[0].value;
|
||||
folder = pandora.getListData(list).folder;
|
||||
pandora.$ui.folderList[folder].value(list, 'items', data.items);
|
||||
if (pandora.$ui.folderList[folder]) {
|
||||
pandora.$ui.folderList[folder].value(
|
||||
list, 'items', data.items
|
||||
);
|
||||
}
|
||||
}
|
||||
pandora.$ui.statusbar.set('total', data);
|
||||
data = [];
|
||||
|
|
Loading…
Reference in a new issue