[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:Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
core-ci <typo3@b13.com>
Showing
- Build/Sources/TypeScript/backend/recordlist.ts 5 additions, 1 deletionBuild/Sources/TypeScript/backend/recordlist.ts
- typo3/sysext/backend/Classes/RecordList/DatabaseRecordList.php 1 addition, 0 deletions.../sysext/backend/Classes/RecordList/DatabaseRecordList.php
- typo3/sysext/backend/Resources/Private/Templates/ListNavigation.html 1 addition, 1 deletion...t/backend/Resources/Private/Templates/ListNavigation.html
- typo3/sysext/backend/Resources/Public/JavaScript/recordlist.js 1 addition, 1 deletion.../sysext/backend/Resources/Public/JavaScript/recordlist.js
Please register or sign in to comment