www

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

commit ebc01db446dddf51b7a7ed36da1b931b1977cd36
parent ef2a403d7b536d0755196c3df9ad912c1d324a22
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri, 18 Nov 2016 04:54:42 -0500

Fix "Zotero.Libraries.get(…).filesEditable is not a function"

Since da7da749

Diffstat:
Mchrome/content/zotero/xpcom/data/dataObjects.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/data/dataObjects.js b/chrome/content/zotero/xpcom/data/dataObjects.js @@ -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; }