www

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

commit 261c17ff5129cef2d9bbcf32133dc0a2b896b18a
parent 48a94c6716f1b45a244859dd16f39e1381ab1375
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri,  6 Sep 2013 16:02:52 -0400

Lock cursor on 'move' for collection drag on Windows

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

diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js @@ -1173,6 +1173,11 @@ Zotero.CollectionTreeCommandController.prototype.onEvent = function(evt) * Start a drag using HTML 5 Drag and Drop */ Zotero.CollectionTreeView.prototype.onDragStart = function(event) { + // See note in LibraryTreeView::_setDropEffect() + if (Zotero.isWin) { + event.dataTransfer.effectAllowed = 'move'; + } + var itemGroup = this.itemGroup; if (!itemGroup.isCollection()) { return;