Skip to content

Include submitter data in FormData on submit#24959

Merged
maliming merged 3 commits intorel-10.2from
jquery-form-extensions.js-v3
Feb 26, 2026
Merged

Include submitter data in FormData on submit#24959
maliming merged 3 commits intorel-10.2from
jquery-form-extensions.js-v3

Conversation

@maliming
Copy link
Member

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates ABP’s jQuery abpAjaxForm helper to include the clicked submit button’s name/value in the submitted FormData, aligning ajax POST submissions more closely with standard browser form behavior.

Changes:

  • Capture the submitter from the native submit event (e.originalEvent.submitter).
  • Append the submitter name/value to the FormData sent for non-GET requests.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@EngincanV EngincanV requested a review from Copilot February 26, 2026 06:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@maliming maliming merged commit f13c6e2 into rel-10.2 Feb 26, 2026
10 checks passed
@maliming maliming deleted the jquery-form-extensions.js-v3 branch February 26, 2026 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants