[Pkg-mozext-commits] [tabmixplus] 10/23: Follow up bug 1288247 - Synced Tabs sidebar should open new tabs on middle click

David Prévot taffit at moszumanska.debian.org
Fri Sep 23 03:31:04 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 52d9d211577229bbe73170736bb2a4c33790ab99
Author: onemen <tabmix.onemen at gmail.com>
Date:   Thu Sep 1 08:01:13 2016 +0300

    Follow up bug 1288247 - Synced Tabs sidebar should open new tabs on middle click
---
 chrome/content/session/sessionStore.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/chrome/content/session/sessionStore.js b/chrome/content/session/sessionStore.js
index 0a407a1..5bf1931 100644
--- a/chrome/content/session/sessionStore.js
+++ b/chrome/content/session/sessionStore.js
@@ -514,7 +514,8 @@ var TMP_ClosedTabs = {
 
   SSS_restoreAllClosedTabs: function ct_SSS_restoreAllClosedTabs() {
     var closedTabCount = this.count;
-    if (!PlacesUIUtils._confirmOpenInTabs(closedTabCount))
+    let confirmOpenInTabs = Tabmix.isVersion(510) ? "confirmOpenInTabs" : "_confirmOpenInTabs";
+    if (!PlacesUIUtils[confirmOpenInTabs](closedTabCount))
       return;
 
     this.setButtonDisableState(true);

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