Skip to content

Commit

Permalink
Merge pull request #1986 from andreytroeglazov/1824-fix-multiple-chec…
Browse files Browse the repository at this point in the history
…kboxes-submit

Fix multiple checkboxes submit
  • Loading branch information
mpscholten authored Jul 12, 2024
2 parents a125f9e + 2663002 commit 4526f58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/IHP/static/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ window.submitForm = function (form, possibleClickedButton) {
// of full urls like `http://example.com/Projects`
var url = new URL(formAction, document.baseURI);
for (var pair of formData.entries()) {
url.searchParams.set(pair[0], pair[1]);
url.searchParams.append(pair[0], pair[1]);
}

request.open(formMethod, url.toString(), true);
Expand Down

0 comments on commit 4526f58

Please sign in to comment.