www

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

commit 33c19715a83a80463ffdf693d490c0142ac845f9
parent 9a45fa94bd2863a54f1da37c928736da2731db15
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon,  8 Jun 2015 04:27:45 -0400

Avoid error when dragging over header row

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

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