Hi,

I don't know what is the reason to stop the event at
https://github.com/apache/wicket/blob/master/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/modal/res/modal.js?source=c#L1186

You can remove that binding with:
jQuery('.wicket-modal .w_content_1')[0].onmousedown = null; // or =
function() {};


 Martin Grigorov
Wicket Training and Consulting


On Fri, Mar 7, 2014 at 6:22 PM, neilbennett <nbenn...@awaremanager.com>wrote:

> Hi,
>
> I am experiencing an issue very similar to Andrew Geery here,
>
> http://apache-wicket.1842946.n4.nabble.com/weird-interaction-between-ModalWindow-and-jQuery-mousedown-binding-td4473055.html
>
> I have a ModalWindow open with a datetimepicker
> (http://www.malot.fr/bootstrap-datetimepicker/) component. On
> non-ModalWindow pages this component closes if open when clicked outside of
> it's area, but the ModalWindow consumes the mousedown event and so
> datetimepicker is not closed when clicking outside of it or even when the
> modal window is closed itself.
>
> Are there any ideas on how to have these ModalWindow mousedown events not
> be
> consumed?
>
> Thanks,
>
> Neil
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/ModalWindow-and-jQuery-mousedown-binding-tp4664859.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to