Fix #957, 5.0: Drag collections creates error messages
This commit is contained in:
parent
87a2eece3a
commit
425c86ca5e
|
@ -1553,7 +1553,7 @@ Zotero.CollectionTreeView.prototype.canDropCheck = function (row, orient, dataTr
|
|||
}
|
||||
|
||||
// Nor in their children
|
||||
if (col.hasDescendent('collection', treeRow.ref.id)) {
|
||||
if (draggedCollection.hasDescendent('collection', treeRow.ref.id)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user