Properly detect group in Zotero.CollectionTreeRow::isWithinGroup()
More follow-up from 1c8abf384
This commit is contained in:
parent
1f00e99e71
commit
694896273a
1 changed files with 1 additions and 1 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Reference in a new issue