diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js index 8e2797063d..0071360a03 100644 --- a/chrome/content/zotero/xpcom/collectionTreeView.js +++ b/chrome/content/zotero/xpcom/collectionTreeView.js @@ -150,34 +150,48 @@ Zotero.CollectionTreeView.prototype.refresh = function() var oldCount = this.rowCount; this._dataItems = []; this.rowCount = 0; - this._showItem(new Zotero.ItemGroup('library', { id: null, libraryID: null }), 0, 1, 1); // itemgroup ref, level, beforeRow, startOpen - var collections = Zotero.getCollections(); - for (var i=0; i