[Project_owners] Extension Options window has no Close button on Mac

Matthew Wilson matthew at mjwilson.demon.co.uk
Sat Mar 18 10:45:20 EST 2006


Wladimir Palant wrote:
> Matthew Wilson wrote:
>>   In Firefox 1.5, my wmlbrowser extension has an options window
>> loosely modelled on the main Firefox options window. It works fine in
>> Windows, but I've heard that it has no Close button on the Mac.
>> Consequently the window never closes until the whole application is
>> closed.
> 
> Dialogs don't have a Close button on Mac. You have to use window.open() 
> instead of window.openDialog().

How does the built-in Options window work then?

That appears to use window.openDialog.

http://lxr.mozilla.org/seamonkey/source/browser/base/content/utilityOverlay.js#425

Matthew



More information about the Project_owners mailing list