www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 571dfc551ce1db72dcf8cbcb99101c50b44d5dc4
parent afd14ae4b9295735b0c979535998fcf0caa5a59f
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon,  4 Nov 2013 05:23:03 -0500

Fix colored tags in group libraries

Pressing the number keys was pulling in colored tags from "My Library".

Diffstat:
Mchrome/content/zotero/xpcom/itemTreeView.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/itemTreeView.js b/chrome/content/zotero/xpcom/itemTreeView.js @@ -189,7 +189,7 @@ Zotero.ItemTreeView.prototype._setTreeGenerator = function(treebox) Q.fcall(function () { if (coloredTagsRE.test(key)) { - let libraryID = self._itemGroup.libraryID; + let libraryID = self._itemGroup.ref.libraryID; libraryID = libraryID ? parseInt(libraryID) : 0; let position = parseInt(key) - 1; return Zotero.Tags.getColorByPosition(libraryID, position)