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)

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment