[Pkg-mozext-commits] [tabmixplus] 03/28: Update changesets 94b9a6a863d3, 1a3a96a04011, disable PlacesCommandHook.bookmarkPage from Firefox 40

David Prévot taffit at moszumanska.debian.org
Sun Jul 5 15:02:32 UTC 2015


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

taffit pushed a commit to branch master
in repository tabmixplus.

commit 886081e602b6682944457fa28af96c0ac2fc6cc6
Author: onemen <tabmix.onemen at gmail.com>
Date:   Sat Jun 13 11:53:25 2015 +0300

    Update changesets 94b9a6a863d3, 1a3a96a04011, disable PlacesCommandHook.bookmarkPage from Firefox 40
---
 chrome/content/places/places.js | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/chrome/content/places/places.js b/chrome/content/places/places.js
index 1fcf5c2..8127ead 100644
--- a/chrome/content/places/places.js
+++ b/chrome/content/places/places.js
@@ -29,11 +29,10 @@ var TMP_Places = {
       // use tab label for bookmark name when user renamed the tab
       // PlacesCommandHook exist on browser window
       if ("PlacesCommandHook" in window) {
-         if (!Tabmix.isVersion(410))
+         if (!Tabmix.isVersion(400))
          Tabmix.changeCode(PlacesCommandHook, "PlacesCommandHook.bookmarkPage")._replace(
             /(webNav\.document\.)*title \|\| (url|uri)\.spec;/,
-            'TMP_Places.getTabTitle(gBrowser.getTabForBrowser(aBrowser), ' +
-            (Tabmix.isVersion(400) ? "uri" : "url") + '.spec) || $&'
+            'TMP_Places.getTabTitle(gBrowser.getTabForBrowser(aBrowser), url.spec) || $&'
          ).toCode();
 
          Tabmix.changeCode(PlacesCommandHook, "uniqueCurrentPages", {getter: true})._replace(

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