The fbLocationButtons element, which contains the fbLocationList element is collapsed by default<https://github.com/firebug/firebug/blob/a1bbd1fd39b8af111dc7c073de46ecc73bea4c0f/extension/content/firebug/firebugOverlay.xul#L355>and just displayed in case the panel has a location defined<https://github.com/firebug/firebug/blob/7d35a97e0eb444f12317b3240f43f9ea55888433/extension/content/firebug/chrome/chrome.js#L964>. So I assume you just need to remove the logic adding the location property<http://code.google.com/p/firepath/source/browse/trunk/content/FirePathPanel.js?spec=svn46&r=43#124>to the panel, if you don't want to have the Location Menu displayed at all..
Btw. what's the reason you modify the FirePath code? And why don't you do it within the FirePath repository<http://code.google.com/p/firepath/source/browse/>? Is your code available online somewhere? Sebastian On Monday, February 17, 2014 11:49:39 AM UTC+1, Syed Adnan Kamili wrote: > > I am modifying firepath a firebug extension, my work is almost done, but I > couldn't find any way to remove fbLocationList - the first combo box with > searchable text box. I searched through all the files but it was neither > enabled anywhere nor disabled. I tried this: > > *chrome.$("fbLocationList").disabled = true;* // But it disables it > across all the panels > > chrome.$("fbLocationList").style.display = 'none'; // it hides it but if > I click script panel and then my extension panel the right sidebar of > scripts panel containing stack etc. also remains > > > > > -- You received this message because you are subscribed to the Google Groups "Firebug" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/firebug. To view this discussion on the web visit https://groups.google.com/d/msgid/firebug/08648cbe-50b6-422b-8f82-4bb3448fb121%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
