[Pkg-mozext-commits] [tabmixplus] 11/56: Follow up bug 1237077 - Part 1: drag an URL into new tab should inherit userContextId
David Prévot
taffit at moszumanska.debian.org
Mon Jun 6 00:02:32 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository tabmixplus.
commit d0ad42c21ec0e486984d8aa6b60c9264a72c3387
Author: onemen <tabmix.onemen at gmail.com>
Date: Fri Apr 29 14:55:46 2016 +0300
Follow up bug 1237077 - Part 1: drag an URL into new tab should inherit userContextId
---
chrome/content/minit/minit.js | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/chrome/content/minit/minit.js b/chrome/content/minit/minit.js
index 82af2d9..e54fe52 100644
--- a/chrome/content/minit/minit.js
+++ b/chrome/content/minit/minit.js
@@ -461,7 +461,11 @@ var TMP_tabDNDObserver = {
if (left_right > -1 && !Tabmix.ContentClick.isUrlForDownload(url)) {
// We're adding a new tab.
- let newTab = gBrowser.loadOneTab(url, {inBackground: bgLoad, allowThirdPartyFixup: true});
+ let newTab = gBrowser.loadOneTab(url, {
+ inBackground: bgLoad,
+ allowThirdPartyFixup: true,
+ userContextId: this.selectedItem.getAttribute("usercontextid")
+ });
gBrowser.moveTabTo(newTab, newIndex + left_right);
} else {
// Load in an existing tab.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git
More information about the Pkg-mozext-commits
mailing list