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
1 changed files with 3 additions and 2 deletions
|
@ -1267,8 +1267,9 @@ Zotero.Collection.prototype._loadChildItems = function() {
|
||||||
this._childItems = [];
|
this._childItems = [];
|
||||||
|
|
||||||
if (ids) {
|
if (ids) {
|
||||||
for each(var id in ids) {
|
var items = Zotero.Items.get(ids)
|
||||||
this._childItems.push(Zotero.Items.get(id));
|
if (items) {
|
||||||
|
this._childItems = items;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue