commit e20bd357566730aa273764f11438835fcfc472bd
parent e68f87fc838b3a6a9a6910617fecfff40adef5e0
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 14 Mar 2013 19:00:52 -0400
Don't clear other tag colors when rename colored tag
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/data/tags.js b/chrome/content/zotero/xpcom/data/tags.js
@@ -517,6 +517,7 @@ Zotero.Tags = new function() {
// Just to be safe, remove colors for tags that don't exist
tagColors = tagColors.filter(function (val) {
+ let tagIDs = self.getIDs(val.name, libraryID);
// TEMP: handle future getIDs return format change
return tagIDs && tagIDs.length;
});