Skip to content
Snippets Groups Projects
Commit 30b50fd8 authored by Andreas Fernandez's avatar Andreas Fernandez
Browse files

[BUGFIX] Fix paging in record list when pressing the Enter key

Submitting the paging form in the record list's single table view was
broken as the "View webpage" button wasn't explictly defined as a
button, which in fact made it a submit button that opened the first
page in the record list in a new tab.

This patch does two things:

* The button element is now explicitly declared being a "dumb" button
* The JavaScript building the URL is simplified to use the existing URL
  in the form, which makes the data attribute that holds the "template"
  obsolete

Resolves: #101540
Related: #101276
Releases: main, 12.4
Change-Id: I9184b3871452aed0b130a32a1405434e0fb9a9db
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80898


Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent 83011772
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment