[Project_owners] opening a dialog just after closing it

Neil neil at parkwaycc.co.uk
Tue Jul 5 14:36:07 EDT 2005


Michael Vincent van Rantwijk wrote:

> Neil wrote:
>
>> Eric Jung wrote:
>>
>>> passwordMaker.dlg = window.openDialog(xulfilename, 
>>> "passwordmakerdlg", "dialog,chrome,resizable=yes", 
>>> {passwordMakerHelper:passwordMaker.passwordMakerHelper});
>>
>> Naming chrome windows is generally a bad move; although it's less 
>> nasty in deer park alpha I'd still advise against it especially for 
>> modal windows.
>
> And why is that, if I may ask?

You know how you name iframes and frameset frames so that you can change 
the page loaded into them? You don't normally want to do that with a 
chrome window. Although, it might work for him if he doesn't close the 
existing window.


More information about the Project_owners mailing list