[Pkg-mozext-commits] [tabmixplus] 10/23: Follow up bug 1244496: Add more detail to TabOpen/TabClose events for tabs moved between windows

David Prévot taffit at moszumanska.debian.org
Wed Feb 17 18:34:00 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 8af3c12ecfc660a9bf21b49e062433c3e31b5e86
Author: onemen <tabmix.onemen at gmail.com>
Date:   Sat Feb 13 19:38:54 2016 +0200

    Follow up bug 1244496: Add more detail to TabOpen/TabClose events for tabs moved between windows
---
 chrome/content/minit/minit.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/chrome/content/minit/minit.js b/chrome/content/minit/minit.js
index 4be2c12..27f7eca 100644
--- a/chrome/content/minit/minit.js
+++ b/chrome/content/minit/minit.js
@@ -414,7 +414,9 @@ var TMP_tabDNDObserver = {
       // swap the dropped tab with a new one we create and then close
       // it in the other window (making it seem to have moved between
       // windows)
-      let newTab = gBrowser.addTab("about:blank");
+      let newTab = Tabmix.isVersion(470) ?
+          gBrowser.addTab("about:blank", {eventDetail: {adoptedTab: draggedTab}}) :
+          gBrowser.addTab("about:blank");
       var newBrowser = gBrowser.getBrowserForTab(newTab);
       if (Tabmix.isVersion(330)) {
         let draggedBrowserURL = draggedTab.linkedBrowser.currentURI.spec;

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