Close dialog from global click
I was wondering if there's a way to close a dialog from a click elsewhere in the screen in a similar fashion to most lightbox implementations?
I can see global keyboard input but nothing for mouse?
RE: Close dialog from global click - Added by Anonymous over 8 years ago
It should be possible via WPopupWidget::setTransient but it doesn't work for me.
There is probably a bug which is not reported yet :-(
RE: Close dialog from global click - Added by Alistair Lowe over 8 years ago
Will give this a try, thanks very much.