[Pkg-mozext-commits] [tabmixplus] 37/147: Can't open new tab in the background from the address bar since Firefox 50

David Prévot taffit at moszumanska.debian.org
Sat Aug 5 15:27:34 UTC 2017


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository tabmixplus.

commit e5ef6674575bfc0a8e56dade7aed497f49cfb7fb
Author: onemen <tabmix.onemen at gmail.com>
Date:   Tue Nov 29 17:38:39 2016 +0200

    Can't open new tab in the background from the address bar since Firefox 50
---
 chrome/content/minit/minit.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/chrome/content/minit/minit.js b/chrome/content/minit/minit.js
index 359890e..c9926cb 100644
--- a/chrome/content/minit/minit.js
+++ b/chrome/content/minit/minit.js
@@ -1237,7 +1237,7 @@ Tabmix.navToolbox = {
     }
   },
 
-  handleCommand: function(event, openUILinkWhere, openUILinkParams) {
+  handleCommand: function(event, openUILinkWhere, openUILinkParams = {}) {
     let prevTab, prevTabPos;
     let action = this._parseActionUrl(this.value);
     if (action && action.type == "switchtab" && this.hasAttribute("actiontype")) {
@@ -1265,6 +1265,7 @@ Tabmix.navToolbox = {
       openUILinkWhere = where;
     }
 
+    openUILinkParams.inBackground = Tabmix.prefs.getBoolPref("loadUrlInBackground");
     Tabmix.originalFunctions.gURLBar_handleCommand.call(gURLBar, event, openUILinkWhere, openUILinkParams);
 
     // move the tab that was switched to after the previously selected 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