From bfb4ac0eae5c3b4320e0a2d6fcd16fd962bda731 Mon Sep 17 00:00:00 2001 From: "gavin%gavinsharp.com" Date: Wed, 22 Aug 2007 05:04:16 +0000 Subject: [PATCH] Bug 324335: Dragging link to a tab loads in a new tab instead of replacing, patch by Martijn Wargers , r=mconnor --- browser/base/content/tabbrowser.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/base/content/tabbrowser.xml b/browser/base/content/tabbrowser.xml index 1b908eb4d8b..ebe19bdac2b 100644 --- a/browser/base/content/tabbrowser.xml +++ b/browser/base/content/tabbrowser.xml @@ -1635,7 +1635,7 @@ if (aEvent.shiftKey) bgLoad = !bgLoad; - if (aEvent.originalTarget.localName != "tab") { + if (document.getBindingParent(aEvent.originalTarget).localName != "tab") { // We're adding a new tab. this.loadOneTab(getShortcutOrURI(url), null, null, null, bgLoad); }