Bug 432766 - Middle click bookmarks folder in Library replaced current tab, r=dietrich
--- a/browser/components/places/content/places.js
+++ b/browser/components/places/content/places.js
@@ -301,17 +301,17 @@ var PlacesOrganizer = {
var selectedNode = currentView.selectedNode;
if (selectedNode && aEvent.button == 1) {
if (PlacesUtils.nodeIsURI(selectedNode))
PlacesUIUtils.openNodeWithEvent(selectedNode, aEvent);
else if (PlacesUtils.nodeIsContainer(selectedNode)) {
// The command execution function will take care of seeing the
// selection is a folder/container and loading its contents in
// tabs for us.
- PlacesUIUtils.openContainerNodeInTabs(selectedNode);
+ PlacesUIUtils.openContainerNodeInTabs(selectedNode, aEvent);
}
}
},
/**
* Handle focus changes on the trees.
* When moving focus between panes we should update the details pane contents.
* @param aEvent