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:
Dan Stillman 2009-05-19 21:31:47 +00:00
parent 975aafa9c1
commit 168ab9ca98

View File

@ -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;
}
}