[Pkg-mozext-commits] [tabmixplus] 24/123: Select last selected tab after closing current tab doesn't work when opening new tab from the first tab

David Prévot taffit at moszumanska.debian.org
Wed Sep 17 21:16:23 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository tabmixplus.

commit 798b487fb272414c90713d642d6d2fd692b67c9d
Author: onemen <tabmix.onemen at gmail.com>
Date:   Sun Aug 17 22:55:32 2014 +0300

    Select last selected tab after closing current tab doesn't work when opening new tab from the first tab
---
 chrome/content/tab/tabbrowser_4.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/tab/tabbrowser_4.xml b/chrome/content/tab/tabbrowser_4.xml
index 4fbd53c..699d281 100644
--- a/chrome/content/tab/tabbrowser_4.xml
+++ b/chrome/content/tab/tabbrowser_4.xml
@@ -419,7 +419,7 @@
             document.getAnonymousElementByAttribute(this, "command", "cmd_newNavigatorTab");
           Tabmix._show_newtabbutton = "aftertabs";
 
-          Tabmix._nextSelectedID = 0;
+          Tabmix._nextSelectedID = 1;
           let tab = this.firstChild;
           tab.setAttribute("tabmix_selectedID", Tabmix._nextSelectedID++);
           tab.setAttribute("visited", 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