Bug 432766 - Middle click bookmarks folder in Library replaced current tab, r=dietrich
authorAlice White <alice0775@yahoo.co.jp>
Mon, 08 Sep 2008 23:34:04 +0200
changeset 19001 007c88ff0d12b5638caab60df2e4777afb399093
parent 19000 ed389adc2038724d750dab1e2c8291233543dc67
child 19002 7068d034c12b2c2c5df8c3bc3c0d2d10f80b3e1e
push id1896
push usermak77@bonardo.net
push dateMon, 08 Sep 2008 21:35:22 +0000
treeherderautoland@007c88ff0d12 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdietrich
bugs432766
milestone1.9.1b1pre
Bug 432766 - Middle click bookmarks folder in Library replaced current tab, r=dietrich
browser/components/places/content/places.js
--- 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