[Pkg-mozext-commits] [tabmixplus] 04/10: Open tabs from address bar doesn't work on Firefox 50 with Tab mix version 0.5.0.1pre.160904a1. Bug 1180944 was landed on Firefox 50. (Changeset a07e2734ee5f)

David Prévot taffit at moszumanska.debian.org
Sat Oct 29 17:36:58 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 97abc1f3f94f8a41539f1a9db1b53d1c325a4449
Author: onemen <tabmix.onemen at gmail.com>
Date:   Wed Oct 5 07:57:39 2016 +0300

    Open tabs from address bar doesn't work on Firefox 50 with Tab mix version 0.5.0.1pre.160904a1. Bug 1180944 was landed on Firefox 50. (Changeset a07e2734ee5f)
---
 chrome/content/links/setup.js | 2 +-
 chrome/content/minit/minit.js | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/chrome/content/links/setup.js b/chrome/content/links/setup.js
index d0e4dc6..14eaac9 100644
--- a/chrome/content/links/setup.js
+++ b/chrome/content/links/setup.js
@@ -16,7 +16,7 @@
  */
 Tabmix.linkHandling_init = function TMP_TBP_init() {
   // Since bug 1180944 onPopupClick always call urlbar.handleCommand
-  if (!Tabmix.isVersion(510)) {
+  if (!Tabmix.isVersion(500)) {
     // for normal click this function calls urlbar.handleCommand
     // for middle click or click with modifiers whereToOpenLink can't be "current"
     // so we don't need to check for locked tabs only for blanks tabs
diff --git a/chrome/content/minit/minit.js b/chrome/content/minit/minit.js
index 47b0fda..d6a40de 100644
--- a/chrome/content/minit/minit.js
+++ b/chrome/content/minit/minit.js
@@ -1191,14 +1191,14 @@ Tabmix.navToolbox = {
     if (blur.indexOf("Tabmix.urlBarOnBlur") == -1)
       Tabmix.setItem(gURLBar, "onblur", blur + "Tabmix.urlBarOnBlur();");
 
-    if (Tabmix.isVersion(510)) {
+    if (Tabmix.isVersion(500)) {
       if (!this.urlBarInitialized) {
         Tabmix.originalFunctions.gURLBar_handleCommand = gURLBar.handleCommand;
         gURLBar.handleCommand = this.handleCommand.bind(gURLBar);
         this.urlBarInitialized = true;
       }
     } else {
-      this.handleCommand_beforeV51();
+      this.handleCommand_beforeV50();
     }
   },
 
@@ -1240,7 +1240,7 @@ Tabmix.navToolbox = {
     }
   },
 
-  handleCommand_beforeV51: function() {
+  handleCommand_beforeV50: function() {
     let obj = gURLBar, fn;
     // Fix incompatibility with Omnibar (O is not defined)
     // URL Dot 0.4.x extension

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