Details
Description
Since WICKET-6108 wicket-event-jquery.js no longer fixes passed in events:
fix: function (evt) { - var evnt = evt || window.event; - return jQuery.event.fix(evnt); + return evt || jQuery.event.fix(window.event); },
But modal.js directly invokes Wicket.Event#stop():
onmousedown=\"Wicket.Event.stop(event);\"
Thus the event is not 'fixed', but #stopPropagation() is called on it:
stop: function (evt, immediate) { evt = Wicket.Event.fix(evt); if (immediate) { evt.stopImmediatePropagation(); } else { evt.stopPropagation(); } return evt; },
Attachments
Issue Links
- is broken by
-
WICKET-6108 Closing a ModalWindow with jQuery 2.2.0 produces javascript errors
- Resolved