Fix error dragging standalone attachment to group with filesEditable off
This commit is contained in:
parent
884e5474fe
commit
a38322ef54
1 changed files with 3 additions and 0 deletions
|
@ -1057,6 +1057,9 @@ Zotero.CollectionTreeView.prototype.canDrop = function(row, orient, dragData)
|
||||||
if (item.attachmentLinkMode == Zotero.Attachments.LINK_MODE_LINKED_FILE) {
|
if (item.attachmentLinkMode == Zotero.Attachments.LINK_MODE_LINKED_FILE) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (!itemGroup.filesEditable) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
skip = false;
|
skip = false;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue