Re: showPopup vs openPopup
Neil Deakin <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
alta88[nntp] wrote: > if this isn't DOM someone can correct.. > > i notice showPopup has been deprecated for openPopup and > openPopupAtScreen. however, i have noticed the problem that a button in > statusbar (i have given statusbar a contextmenu) which uses openPopup > for its own contextmenu will result in both popups appearing - ie > openPopup does not preventDefault() like apparently showPopup did. (no > buttons with showPopup have this problem). > Not clear what you mean here. Neither openPopup nor showPopup take an event argument on which to call preventDefault. What event are you referring to? What are the two popups referred to by 'both popups'?