Bug 1235129 - "Drag-n-drop url from location bar to a <tab> opens new tab instead of loading url in that tab". r=dao

This commit is contained in:
Neil Deakin 2016-01-28 07:41:00 +01:00
parent 6df6a112ab
commit ca6cddf7e2

View File

@ -5891,7 +5891,7 @@
bgLoad = !bgLoad;
let tab = this._getDragTargetTab(event, true);
if (!tab || dropEffect == "copy") {
if (!tab) {
// We're adding a new tab.
let newIndex = this._getDropIndex(event, true);
let newTab = this.tabbrowser.loadOneTab(url, {inBackground: bgLoad, allowThirdPartyFixup: true});