alert(browser); // prints [object XULElement]
alert(browser.chrome); // prints undefined
alert(panel); // prints [object Object]
alert(panel.name); // prints HelloWorld
return;
var isHwPanel = panel && panel.name == panelName;
var hwButtons = browser.chrome.$("fbHelloWorldButtons"); // browser.chrome is undefined
collapse(hwButtons, !isHwPanel);
Hi all. Here is a newbie question:
I'm currently playing with Honza's 2nd example of his blog (http://www.softwareishard.com/blog/firebug-tutorial/extending-firebug-toolbar-part-ii/ ) which doesn't work for me. It seems like the browser object passed to showPanel method hasn't the chrome property. Doing some debugging...
showPanel: function(browser, panel) {alert(browser); // prints [object XULElement]alert(browser.chrome); // prints undefinedalert(panel); // prints [object Object]
alert(panel.name ); // prints HelloWorld