[Pkg-mozext-commits] [perspectives-extension] 06/14: Pers_add_toolbar_button - Remove deprecated call

David Prévot taffit at moszumanska.debian.org
Sat Jun 20 21:28:47 UTC 2015


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

taffit pushed a commit to branch master
in repository perspectives-extension.

commit 6319b171a85c4fa023c4f1706747ce197a2fe137
Author: Dave Schaefer <dave.schaefer at gmail.com>
Date:   Sun May 31 23:56:17 2015 -0600

    Pers_add_toolbar_button - Remove deprecated call
    
    Removing call to BrowserToolboxCustomizeDone().
    As of March 2014 the function no longer exists and shouldn't be called.
    (calling it raises a "ReferenceError: BrowserToolboxCustomizeDone is not defined" exception)
    
    https://developer.mozilla.org/en-US/Firefox/Australis_add-on_compat
---
 plugin/chrome/content/addtoolbarbutton.js | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/plugin/chrome/content/addtoolbarbutton.js b/plugin/chrome/content/addtoolbarbutton.js
index 3f449b2..4e631cf 100644
--- a/plugin/chrome/content/addtoolbarbutton.js
+++ b/plugin/chrome/content/addtoolbarbutton.js
@@ -49,11 +49,6 @@ var Pers_add_toolbar_button = {
           firefoxnav.setAttribute("currentset", set);
           firefoxnav.currentSet = set;
           document.persist(toolbarId, "currentset");
-          // If you don't do the following call, funny things happen
-          try {
-            BrowserToolboxCustomizeDone(true);
-          }
-          catch (e) { }
         }
       }
       catch(e) { }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/perspectives-extension.git



More information about the Pkg-mozext-commits mailing list