From 85c6ec0ca4ac70771064b77fd9aff9907ec5531f Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 7 Mar 2019 03:35:37 -0500 Subject: [PATCH] Actually change code that deletes automatic tags Follow-up to d7dc5670d53b --- chrome/content/zotero/xpcom/data/tags.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/data/tags.js b/chrome/content/zotero/xpcom/data/tags.js index 0c6c2d0013..974faa4a39 100644 --- a/chrome/content/zotero/xpcom/data/tags.js +++ b/chrome/content/zotero/xpcom/data/tags.js @@ -396,11 +396,12 @@ Zotero.Tags = new function() { * Remove all automatic tags in the given library */ this.removeAutomaticFromLibrary = async function (libraryID, onProgress) { + var tagType = 1; var tagIDs = await this.getAutomaticInLibrary(libraryID); if (onProgress) { onProgress(0, tagIDs.length); } - return this.removeFromLibrary(libraryID, tagIDs, onProgress); + return this.removeFromLibrary(libraryID, tagIDs, onProgress, tagType); };