[Pkg-mozext-commits] [tabmixplus] 20/27: Follow up bug 1108555 - [e10s] closing last tab does not focus urlbar (browser.tabs.closeWindowWithLastTab = false) (remove changes fro 58bf41fe8b9a)

David Prévot taffit at moszumanska.debian.org
Fri Dec 26 01:04:31 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 c7e32e81891999e4ca7db2fcc3bacf7641ec9394
Author: onemen <tabmix.onemen at gmail.com>
Date:   Thu Dec 18 19:19:48 2014 +0200

    Follow up bug 1108555 - [e10s] closing last tab does not focus urlbar (browser.tabs.closeWindowWithLastTab = false) (remove changes fro 58bf41fe8b9a)
---
 chrome/content/places/places.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/chrome/content/places/places.js b/chrome/content/places/places.js
index 2581af0..db42876 100644
--- a/chrome/content/places/places.js
+++ b/chrome/content/places/places.js
@@ -102,8 +102,8 @@ var TMP_Places = {
          w.gBrowser.ensureTabIsVisible(w.gBrowser.selectedTab);'
       )._replace(
         /(\})(\)?)$/,
-        '  var tab = where == "current" ? w.gBrowser.mCurrentTab :\n' +
-        '            (Tabmix.isVersion(340) ? newTab : w.gBrowser.getTabForLastPanel());\n' +
+        '  var tab = where == "current" ?\n' +
+        '      w.gBrowser.selectedTab : w.gBrowser.getTabForLastPanel();\n' +
         '  w.TMP_Places.setTabTitle(tab, url, bookMarkId);\n' +
         '$1$2'
       ).toCode();

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