Speed up initial opening of Zotero pane with many collections -- this can be much faster, but not for Beta 4
This commit is contained in:
parent
975aafa9c1
commit
168ab9ca98
|
@ -1267,8 +1267,9 @@ Zotero.Collection.prototype._loadChildItems = function() {
|
|||
this._childItems = [];
|
||||
|
||||
if (ids) {
|
||||
for each(var id in ids) {
|
||||
this._childItems.push(Zotero.Items.get(id));
|
||||
var items = Zotero.Items.get(ids)
|
||||
if (items) {
|
||||
this._childItems = items;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user