www

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

commit a38322ef546a7bfcb0ac93c2262b4db49e233a6e
parent 884e5474fec96324026e5e8409cb4ce664587004
Author: Dan Stillman <dstillman@zotero.org>
Date:   Mon, 14 Sep 2009 02:15:20 +0000

Fix error dragging standalone attachment to group with filesEditable off


Diffstat:
Mchrome/content/zotero/xpcom/collectionTreeView.js | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js @@ -1057,6 +1057,9 @@ Zotero.CollectionTreeView.prototype.canDrop = function(row, orient, dragData) if (item.attachmentLinkMode == Zotero.Attachments.LINK_MODE_LINKED_FILE) { return false; } + if (!itemGroup.filesEditable) { + return false; + } skip = false; continue; }