Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6214

ModalWindow broken on IE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.23.0, 6.24.0
    • 8.0.0-M2, 6.25.0, 7.5.0
    • wicket
    • None

    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

          Activity

            People

              svenmeier Sven Meier
              svenmeier Sven Meier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: