mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 07:05:24 +00:00
Bug 431332 - drag & drop in places menupopups force a copy op instead of moving (for mak77@supereva.it, r=dietrich, a=beltzner)
This commit is contained in:
parent
9f9a5a1f15
commit
ddce9a348f
@ -194,7 +194,7 @@
|
||||
// Force a copy action if parent node is a query or not-removable
|
||||
if (aEvent.ctrlKey ||
|
||||
PlacesUtils.nodeIsQuery(aEvent.target.node.parent) ||
|
||||
PlacesControllerDragHelper.canMoveContainerNode(aEvent.target.node))
|
||||
!PlacesControllerDragHelper.canMoveContainerNode(aEvent.target.node))
|
||||
aDragAction.action = Ci.nsIDragService.DRAGDROP_ACTION_COPY;
|
||||
|
||||
// activate the view and cache the dragged node
|
||||
|
Loading…
Reference in New Issue
Block a user