[Seaside] onClick: Anywhere But Component
renggli at gmail.com
Fri Oct 2 06:40:35 UTC 2009
> This all went fine, except for one final characteristic:
> - with the standard select if you click the arrow the dropdown box
> appears but if you then decide not to select anything and instead just
> click some dead part of the page the dropdown box disappears.
> How can I achieve this characteristic?
You register an onClick even on the root of the document. If the
dropdown box is open and if the event has not been handled you close
More information about the seaside