Another Zotero.Tags.getID() fix after e2cbfbd0fe

This commit is contained in:
Dan Stillman 2016-04-21 16:40:45 -04:00
parent 10806c0a2d
commit 0539aa244a

View file

@ -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,