From b24a7cf529c46c203cb36d5a80ace010bb9329d4 Mon Sep 17 00:00:00 2001 From: Martynas Bagdonas Date: Tue, 4 Oct 2022 14:22:54 +0300 Subject: [PATCH] Allow importing annotations in group libraries (cherry picked from commit b594ad0b0ad560b638997667f4ed8565cd3520b9) --- chrome/content/zotero/standalone/standalone.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chrome/content/zotero/standalone/standalone.js b/chrome/content/zotero/standalone/standalone.js index e7df30c56b..c027e00126 100644 --- a/chrome/content/zotero/standalone/standalone.js +++ b/chrome/content/zotero/standalone/standalone.js @@ -160,8 +160,7 @@ const ZoteroStandalone = new function() { let item = Zotero.Items.get(reader.itemID); let library = Zotero.Libraries.get(item.libraryID); if (item - // Don't allow annotation transfer in group libraries - && library.libraryType == 'user' + && library.filesEditable && library.editable && !(item.deleted || item.parentItem && item.parentItem.deleted)) { let annotations = item.getAnnotations();