Close dialog from global click
Added by Alistair Lowe over 11 years ago
Hi guys,
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?
Many thanks
Replies (3)
RE: Close dialog from global click - Added by Anonymous over 11 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 11 years ago
Will give this a try, thanks very much.
RE: Close dialog from global click - Added by Anonymous over 11 years ago
I've reported it in bug 1888 which should be now fixed in git...