commit 0539aa244a1d51d753e7b4796be5ad9b81597df9
parent 10806c0a2d99a420de8ea56e066bda87adeff938
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 21 Apr 2016 16:40:45 -0400
Another Zotero.Tags.getID() fix after e2cbfbd0fe
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/data/tags.js b/chrome/content/zotero/xpcom/data/tags.js
@@ -242,7 +242,7 @@ Zotero.Tags = new function() {
yield Zotero.DB.executeTransaction(function* () {
var oldItemIDs = yield this.getTagItems(libraryID, oldTagID);
- var newTagID = this.getID(newName, true);
+ var newTagID = yield this.create(newName);
yield Zotero.Utilities.Internal.forEachChunkAsync(
oldItemIDs,