[Pkg-mozext-commits] [tabmixplus] 20/32: Don't make first restored tab visible when we restored the session into hidden group fix typo in changeset 1553cb0a2702
David Prévot
taffit at moszumanska.debian.org
Sun Feb 7 19:23:13 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 82158d5f0d919339fdb50b57ca9ebf5d3a8bcb22
Author: onemen <tabmix.onemen at gmail.com>
Date: Fri Jan 22 20:22:55 2016 +0200
Don't make first restored tab visible when we restored the session into hidden group
fix typo in changeset 1553cb0a2702
---
chrome/content/session/session.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/chrome/content/session/session.js b/chrome/content/session/session.js
index 795f338..7c93d56 100644
--- a/chrome/content/session/session.js
+++ b/chrome/content/session/session.js
@@ -3359,7 +3359,8 @@ var TabmixSessionManager = { // jshint ignore:line
gBrowser.selectedTab = gBrowser.tabs[newIndex + firstVisibleTab];
// if all tabs to be restored are hidden, make the first one visible
- if (!numVisibleTabs && tabsData.tabs.length) {
+ if (!this.groupUpdates.hideSessionActiveGroup &&
+ !numVisibleTabs && tabsData.length) {
tabsData[0].hidden = false;
gBrowser.showTab(tabs[0]);
}
@@ -3827,6 +3828,7 @@ var TabmixSessionManager = { // jshint ignore:line
_saveTabviewData: function() { },
_setTabviewTab: function() { },
+ groupUpdates: {},
_tabviewData: {},
/* ............... DEPRECATED ............... */
--
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