From fa348d346cb9099b2693b89dc841ef2460441cfc Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 17 May 2009 08:29:46 +0000 Subject: [PATCH] Fix saved searches and trash not display on collapse/expand of My Library --- .../zotero/xpcom/collectionTreeView.js | 77 ++++++++++++------- 1 file changed, 48 insertions(+), 29 deletions(-) diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js index 8e2797063..0071360a0 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