mirror of
https://github.com/zotero/zotero.git
synced 2026-09-19 00:01:31 +00:00
Fix "Zotero.Libraries.get(…).filesEditable is not a function"
Since da7da749
This commit is contained in:
parent
ef2a403d7b
commit
ebc01db446
1 changed files with 1 additions and 1 deletions
|
|
@ -866,7 +866,7 @@ Zotero.DataObjects.prototype.isEditable = function (obj) {
|
|||
if (obj.objectType == 'item' && obj.isAttachment()
|
||||
&& (obj.attachmentLinkMode == Zotero.Attachments.LINK_MODE_IMPORTED_URL ||
|
||||
obj.attachmentLinkMode == Zotero.Attachments.LINK_MODE_IMPORTED_FILE)
|
||||
&& !Zotero.Libraries.get(libraryID).filesEditable(libraryID)
|
||||
&& !Zotero.Libraries.get(libraryID).filesEditable
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue