Wicket
  1. Wicket
  2. WICKET-5093

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.6.0
    • Fix Version/s: 6.7.0
    • Component/s: wicket
    • Labels:
      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.

        Issue Links

          Activity

            People

            • Assignee:
              Martin Grigorov
              Reporter:
              Martin Grigorov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development