www

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

commit 8a7d405e4d8c0b996a2583a53d6118fefffdad6d
parent d0b1a45c61761c7ab3dcad535b4e63d8c740079b
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sun, 16 Apr 2017 03:35:02 -0400

Close #932, Disable file dragging into My Publications

Already disabled for collections pane, now for items pane

Diffstat:
Mchrome/content/zotero/xpcom/itemTreeView.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chrome/content/zotero/xpcom/itemTreeView.js b/chrome/content/zotero/xpcom/itemTreeView.js @@ -2960,8 +2960,8 @@ Zotero.ItemTreeView.prototype.canDropCheck = function (row, orient, dataTransfer return false; } } - // Don't allow drop into searches - else if (collectionTreeRow.isSearch()) { + // Don't allow drop into searches or publications + else if (collectionTreeRow.isSearch() || collectionTreeRow.isPublications()) { return false; }