[Pkg-mozext-commits] [tabmixplus] 06/27: Follow up bug 1058116 - [e10s] New tabs opened from links in existing tabs should appear immediately to the right of the current tab

David Prévot taffit at moszumanska.debian.org
Fri Dec 26 01:04:29 UTC 2014


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

taffit pushed a commit to branch master
in repository tabmixplus.

commit 718f1dfe4f2004338d18a40ec584dc317bd13983
Author: onemen <tabmix.onemen at gmail.com>
Date:   Sun Nov 9 18:00:34 2014 +0200

    Follow up bug 1058116 - [e10s] New tabs opened from links in existing tabs should appear immediately to the right of the current tab
---
 chrome/content/minit/tablib.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/chrome/content/minit/tablib.js b/chrome/content/minit/tablib.js
index 9d609ac..4f783a1 100644
--- a/chrome/content/minit/tablib.js
+++ b/chrome/content/minit/tablib.js
@@ -559,7 +559,8 @@ var tablib = {
       '  let loadflags = #1 ?'.replace("#1", arg) +
       '      Ci.nsIWebNavigation.LOAD_FLAGS_FROM_EXTERNAL :' +
       '      Ci.nsIWebNavigation.LOAD_FLAGS_NONE;' +
-      '  browser.loadURIWithFlags(aURI.spec, loadflags, referrer, null, null);' +
+      '  browser.loadURIWithFlags(aURI.spec, loadflags, referrer, null, null);'
+        .replace("referrer", (Tabmix.isVersion(360) ? "aReferrer" : "referrer")) +
       '  browser.focus();' +
       '}'
     );

-- 
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