user might have been removed
This commit is contained in:
parent
720076d5d1
commit
9d01cbf57e
1 changed files with 12 additions and 10 deletions
|
@ -330,6 +330,7 @@ oml.ui.folders = function() {
|
||||||
library = lists.filter(function(list) {
|
library = lists.filter(function(list) {
|
||||||
return list.user == name && list.type == 'library';
|
return list.user == name && list.type == 'library';
|
||||||
});
|
});
|
||||||
|
if (oml.$ui.libraryList[index]) {
|
||||||
oml.$ui.libraryList[index].options({
|
oml.$ui.libraryList[index].options({
|
||||||
items: library
|
items: library
|
||||||
});
|
});
|
||||||
|
@ -340,6 +341,7 @@ oml.ui.folders = function() {
|
||||||
})
|
})
|
||||||
.css({height: items.length * 16 + 'px'})
|
.css({height: items.length * 16 + 'px'})
|
||||||
.size();
|
.size();
|
||||||
|
}
|
||||||
oml.resizeListFolders();
|
oml.resizeListFolders();
|
||||||
callback && callback();
|
callback && callback();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue