www

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

commit 694896273ab65dd880ba1a8353365b4acdd48cb0
parent 1f00e99e71ebe5ef263099141821c7e6819b2091
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sun, 26 Apr 2015 02:42:06 -0400

Properly detect group in Zotero.CollectionTreeRow::isWithinGroup()

More follow-up from 1c8abf384

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

diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js @@ -2152,7 +2152,7 @@ Zotero.CollectionTreeRow.prototype.isShare = function() // Special Zotero.CollectionTreeRow.prototype.isWithinGroup = function () { - return this.ref && !!this.ref.libraryID; + return this.ref && Zotero.Libraries.getType(this.ref.libraryID) == 'group'; } Zotero.CollectionTreeRow.prototype.isWithinEditableGroup = function () {