[Pkg-mozext-commits] [tabmixplus] 75/147: Follow up changeset 54c897a21338, bug 1322408 was applied on Firefox 51.0b10
David Prévot
taffit at moszumanska.debian.org
Sat Aug 5 15:27:38 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 def6fc158714d837a11d95da1585fe52d061c5d7
Author: onemen <tabmix.onemen at gmail.com>
Date: Mon Dec 26 15:18:46 2016 +0200
Follow up changeset 54c897a21338, bug 1322408 was applied on Firefox 51.0b10
---
modules/syncedTabs.jsm | 15 +--------------
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/modules/syncedTabs.jsm b/modules/syncedTabs.jsm
index e3f9197..50db757 100644
--- a/modules/syncedTabs.jsm
+++ b/modules/syncedTabs.jsm
@@ -69,7 +69,7 @@ this.SyncedTabs = {
configurable: true
});
- if (TabmixSvc.version(530)) {
+ if (TabmixSvc.version(510)) {
Tabmix.changeCode(TabListView.prototype, "TabListView.prototype.onClick")._replace(
'this.props.onOpenTabs(urls, where);',
`if (/^tab/.test(where)) {
@@ -78,19 +78,6 @@ this.SyncedTabs = {
}
$&`
).toCode();
- } else if (TabmixSvc.version(510)) {
- Tabmix.changeCode(TabListView.prototype, "TabListView.prototype.onClick")._replace(
- 'this.props.onOpenTabs(urls, where, {});',
- `if (/^tab/.test(where)) {
- let window = getChromeWindow(this._window);
- let whereFirst = window.Tabmix.whereToOpen(true).inNew ? where : "current";
- // make sure other tabs are inBackground
- where = "tab";
- let inBackground = this.tabmix_inBackground;
- this.props.onOpenTab(urls.shift(), whereFirst, {inBackground});
- }
- this.props.onOpenTabs(urls, where, {inBackground: true})`
- ).toCode();
}
TabListView.prototype.onOpenSelected = function(url, event) {
--
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