From ddce9a348fcf2114fdc1305b4bd2ba409938ae8b Mon Sep 17 00:00:00 2001 From: "dietrich@mozilla.com" Date: Wed, 30 Apr 2008 09:12:13 -0700 Subject: [PATCH] Bug 431332 - drag & drop in places menupopups force a copy op instead of moving (for mak77@supereva.it, r=dietrich, a=beltzner) --- browser/components/places/content/menu.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/components/places/content/menu.xml b/browser/components/places/content/menu.xml index 92e47851f3c1..e6f9f56cbec6 100755 --- a/browser/components/places/content/menu.xml +++ b/browser/components/places/content/menu.xml @@ -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