From 33528d0f366ea1857c32b9043b2d01be33a38af2 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 25 Feb 2021 18:29:49 -0500 Subject: [PATCH] Fix "New Collection" button when My Publications is selected Fixes #1955 --- chrome/content/zotero/zoteroPane.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index 8f35d36f8e..f1d08446d7 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -1306,7 +1306,9 @@ var ZoteroPane = new function() // Don't allow normal buttons in My Publications, because things need to // be dragged and go through the wizard - let forceDisable = collectionTreeRow.isPublications() && command != 'zotero-tb-note-add'; + let forceDisable = collectionTreeRow.isPublications() + && command != 'cmd_zotero_newCollection' + && command != 'zotero-tb-note-add'; if ((collectionTreeRow.editable || overrideEditable) && !forceDisable) { if(el.hasAttribute("disabled")) el.removeAttribute("disabled");