fix onload error related to live list count update

This commit is contained in:
rolux 2013-02-09 13:56:22 +05:30
parent cd3060c567
commit 8e4b3cff55

View file

@ -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 = [];