[Pkg-mozext-commits] [tabmixplus] 31/147: Follow up bug 1312406 - Remove tab groups migration code
David Prévot
taffit at moszumanska.debian.org
Sat Aug 5 15:27:33 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 a3d0368c886674fbd872e166e838e0abc5f815f6
Author: onemen <tabmix.onemen at gmail.com>
Date: Sun Nov 13 22:59:33 2016 +0200
Follow up bug 1312406 - Remove tab groups migration code
---
chrome/content/session/session.js | 4 ++--
modules/TabGroupsMigrator.jsm | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/chrome/content/session/session.js b/chrome/content/session/session.js
index f094806..cd08405 100644
--- a/chrome/content/session/session.js
+++ b/chrome/content/session/session.js
@@ -356,7 +356,7 @@ TabmixSessionManager = {
document.getElementById("tmp_disableSave").setAttribute("disabled", true);
}
- if (!Tabmix.isVersion(450)) {
+ if (!Tabmix.isVersion(450) || Tabmix.isVersion(520)) {
document.getElementById("tm-sm-bookmark").hidden = true;
}
@@ -1679,7 +1679,7 @@ TabmixSessionManager = {
},
bookmarkSession: function(node) {
- if (!Tabmix.isVersion(450)) {
+ if (!Tabmix.isVersion(450) || Tabmix.isVersion(520)) {
return;
}
let {command, session, history} = node;
diff --git a/modules/TabGroupsMigrator.jsm b/modules/TabGroupsMigrator.jsm
index 262f968..5322e34 100644
--- a/modules/TabGroupsMigrator.jsm
+++ b/modules/TabGroupsMigrator.jsm
@@ -13,7 +13,7 @@ XPCOMUtils.defineLazyModuleGetter(this, "Promise",
"resource://gre/modules/Promise.jsm");
XPCOMUtils.defineLazyGetter(this, "TabGroupsMigrator", () => {
- if (!TabmixSvc.version(450)) {
+ if (!TabmixSvc.version(450) || TabmixSvc.version(520)) {
return null;
}
--
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