Bug 821328 - PlacesUIUtils._openNodeIn throws with alt modifier.
authorMarco Bonardo <mbonardo@mozilla.com>
Mon, 17 Dec 2012 15:13:52 +0100
changeset 121859 f0b590fbfd9f0f8c81459d8687c6efdfd2536c9d
parent 121858 d10f258a912091dcb529862b33cc298f9774b785
child 121860 cd18d8b548dd0be23f9afb71be76bcc64914dab3
push idunknown
push userunknown
push dateunknown
bugs821328
milestone20.0a1
Bug 821328 - PlacesUIUtils._openNodeIn throws with alt modifier. r=dao
browser/components/places/src/PlacesUIUtils.jsm
--- a/browser/components/places/src/PlacesUIUtils.jsm
+++ b/browser/components/places/src/PlacesUIUtils.jsm
@@ -617,17 +617,17 @@ this.PlacesUIUtils = {
    *          The DOM mouse/key event with modifier keys set that track the
    *          user's preferred destination window or tab.
    * @param   aView
    *          The controller associated with aNode.
    */
   openNodeWithEvent:
   function PUIU_openNodeWithEvent(aNode, aEvent, aView) {
     let window = aView.ownerWindow;
-    this._openNodeIn(aNode, window.whereToOpenLink(aEvent), window);
+    this._openNodeIn(aNode, window.whereToOpenLink(aEvent, false, true), window);
   },
 
   /**
    * Loads the node's URL in the appropriate tab or window or as a
    * web panel.
    * see also openUILinkIn
    */
   openNodeIn: function PUIU_openNodeIn(aNode, aWhere, aView) {