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:
dietrich@mozilla.com 2008-04-30 09:12:13 -07:00
parent 9f9a5a1f15
commit ddce9a348f

View File

@ -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