commit ef3a5755f89b323b1b3e14b25acd2526429afee4 parent 8ea86d77d3fc7ce374eb9f1e69580cbf210eed70 Author: Dan Stillman <dstillman@zotero.org> Date: Fri, 12 Apr 2013 14:15:31 -0400 Colored tags weren't shown in collections with no other tags Diffstat:
| M | chrome/content/zotero/bindings/tagselector.xml | | | 7 | ++++--- |
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/chrome/content/zotero/bindings/tagselector.xml b/chrome/content/zotero/bindings/tagselector.xml @@ -369,12 +369,13 @@ delete self.selection[name]; var doCommand = true; } - - // Always show colored tags at top - if (colorData) { + // Always show colored tags at top, unless they + // don't match an active tag search + if (colorData && (!self._search || inSearch)) { labels[i].setAttribute('hidden', false); labels[i].setAttribute('hasColor', true); + empty = false; } else { labels[i].removeAttribute('hasColor');