A user of my extension has realized that errors occur when firebug is opened in a new window. The reason is that Firebug.chrome.$(id) was returning null when I called a function during reattaching. Unlike the firebug code, I haven't been keeping local variables around to point to the DOM elements, but have instead have looked them up as needed (perhaps I will have to change that).
In code like the commandLine.js, it seems that Firebug.chrome always gets passed to "setMultiLine", but in syncFilterButtons in net.js, initializeUI in the module uses FirebugChrome, where other code is using Firebug.chrome. What are the rules of thumb when using $(id) in terms of using with or without the chrome and which chrome to use? Thank you, Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Firebug" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/firebug?hl=en -~----------~----~----~----~------~----~------~--~---
