Rename and delete only tags in the current library

This commit is contained in:
Dan Stillman 2012-06-14 14:37:45 -04:00
parent 64dd58694c
commit 3e969a9c8f

View file

@ -644,7 +644,7 @@
if (result && newName.value) {
// Add other ids with same tag
var ids = Zotero.Tags.getIDs(oldName);
var ids = Zotero.Tags.getIDs(oldName, this.libraryID);
for (var i=0; i<ids.length; i++) {
if (tagIDs.indexOf(ids[i]) == -1) {
@ -691,7 +691,7 @@
Zotero.DB.beginTransaction();
// Add other ids with same tag
var ids = Zotero.Tags.getIDs(oldName);
var ids = Zotero.Tags.getIDs(oldName, this.libraryID);
for each(var id in ids) {
if (tagIDs.indexOf(id) == -1) {
tagIDs.push(id);