mirror of
https://github.com/zotero/zotero.git
synced 2026-10-05 02:43:38 +00:00
Fix #957, 5.0: Drag collections creates error messages
This commit is contained in:
parent
87a2eece3a
commit
425c86ca5e
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue