From 39973abfa44b3f52565b1759b21bcd099f61ce47 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 21 Apr 2016 16:15:41 -0400 Subject: [PATCH] Update additional Zotero.ID.getID() calls after e2cbfbd0f --- chrome/content/zotero/xpcom/data/tags.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/chrome/content/zotero/xpcom/data/tags.js b/chrome/content/zotero/xpcom/data/tags.js index a317bd9186..982a0b6564 100644 --- a/chrome/content/zotero/xpcom/data/tags.js +++ b/chrome/content/zotero/xpcom/data/tags.js @@ -234,7 +234,7 @@ Zotero.Tags = new function() { return; } - var oldTagID = yield this.getID(oldName); + var oldTagID = this.getID(oldName); // We need to know if the old tag has a color assigned so that // we can assign it to the new name @@ -242,7 +242,7 @@ Zotero.Tags = new function() { yield Zotero.DB.executeTransaction(function* () { var oldItemIDs = yield this.getTagItems(libraryID, oldTagID); - var newTagID = yield this.getID(newName, true); + var newTagID = this.getID(newName, true); yield Zotero.Utilities.Internal.forEachChunkAsync( oldItemIDs, @@ -624,7 +624,7 @@ Zotero.Tags = new function() { tagNames = Zotero.Utilities.arrayUnique(tagNames); if (tagNames.length) { for (let i=0; i