From e20bd357566730aa273764f11438835fcfc472bd Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 14 Mar 2013 19:00:52 -0400 Subject: [PATCH] Don't clear other tag colors when rename colored tag --- chrome/content/zotero/xpcom/data/tags.js | 1 + 1 file changed, 1 insertion(+) diff --git a/chrome/content/zotero/xpcom/data/tags.js b/chrome/content/zotero/xpcom/data/tags.js index b0f1ed032b..125f8f11ae 100644 --- 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; });