commit 3e969a9c8f414fee202dc3608b9af7a5c595aaf8
parent 64dd58694cbd58df8832bb36779a319a0d4f2e2d
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 14 Jun 2012 14:37:45 -0400
Rename and delete only tags in the current library
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/chrome/content/zotero/bindings/tagselector.xml b/chrome/content/zotero/bindings/tagselector.xml
@@ -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);