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

The event listener in Wicket.Ajax.ajax() should not return the value of attrs.ad (allowDefault)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.6.0
    • 6.7.0
    • wicket
    • None

    Description

      Currently the event listeners registered in Wicket.Ajax.ajax() return the value of attrs.ad as a result.
      This is wrong because this way the event propagation is effected.

      event.preventDefault != event.stopPropagation

      If the propagation has to be stopped then a before handler can do "Wicket.Event.stop(attrs.event)" where needed.

      Attachments

        1. WICKET-5093.zip
          23 kB
          Sven Meier

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              mgrigorov Martin Tzvetanov Grigorov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: