diff --git a/chrome/content/zotero/bindings/tagselector.xml b/chrome/content/zotero/bindings/tagselector.xml index ade32b6f2..d9690732f 100644 --- a/chrome/content/zotero/bindings/tagselector.xml +++ b/chrome/content/zotero/bindings/tagselector.xml @@ -499,18 +499,28 @@ newName, '', {}); if (result && newName.value) { - Zotero.DB.beginTransaction(); - // Add other ids with same tag var ids = Zotero.Tags.getIDs(oldName); - for each(var id in ids) { - if (tagIDs.indexOf(id) == -1) { - tagIDs.push(id); + + for (var i=0; i