I have a proposed fix - please let me know if I've analyzed the problem
correctly.


The modal dialog tries to set event.ignore=true if the browser is Safari.
This Wicket event data structure used to be passed through to
Wicket.Drag.mouseDownHandler as the argument e. However, in the switch over
to jQuery events the argument (e) passed to mouseDownHandler is no longer
Wicket "event". It is now jQuery event data.


There is a test in mouseDownHandler to check for the existence of e.ignore.
As this is now jQuery data, it _never_ exists, so Safari is never
recognized.


I changed this test to check event.ignore and it appears to work correctly.

Patch file attached.



http://apache-wicket.1842946.n4.nabble.com/file/n4652074/Fix_to_Wicket_6___Safari_modal_window_drag_issue.patch
Fix_to_Wicket_6___Safari_modal_window_drag_issue.patch 





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-6-Modal-Dialogs-and-Safari-tp4652066p4652074.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