From 2225f459b79ca0faa7fc25f622cf046121d5bb46 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 14 Jun 2016 15:16:56 -0400 Subject: [PATCH] Fix breakage after certain Notifier events with My Publications selected --- chrome/content/zotero/xpcom/collectionTreeView.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js index 327f3dd35..e5f78a328 100644 --- a/chrome/content/zotero/xpcom/collectionTreeView.js +++ b/chrome/content/zotero/xpcom/collectionTreeView.js @@ -204,7 +204,8 @@ Zotero.CollectionTreeView.prototype.refresh = Zotero.Promise.coroutine(function* this._addRowToArray( newRows, new Zotero.CollectionTreeRow('publications', { - libraryID: Zotero.Libraries.publicationsLibraryID + libraryID: Zotero.Libraries.publicationsLibraryID, + treeViewID: "L" + Zotero.Libraries.publicationsLibraryID }), added++ );