Commit 2d76a796 authored by Oliver Bartsch's avatar Oliver Bartsch Committed by Richard Haeser

[BUGFIX] Replace duplicated form attributes in LinkBrowser

The form to update an already existing link in the
LinkBrowser used the same name and id as the
form for "Additional Attributes". This now leads
to a JavaScript warning being emitted.

The issue is fixed by replacing the duplicated name
and id attribute.

Resolves: #93936
Releases: master, 10.4
Change-Id: I074f46305ff0928f7c303ed28619d79b6fdc943f
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68796Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarGuido Schmechel <guido.schmechel@brandung.de>
Tested-by: Richard Haeser's avatarRichard Haeser <richard@richardhaeser.com>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarGuido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: Richard Haeser's avatarRichard Haeser <richard@richardhaeser.com>
parent 8bc8419f
......@@ -42,7 +42,7 @@
<div class="element-browser-panel element-browser-attributes">
<f:format.raw>{linkAttributes}</f:format.raw>
<f:if condition="{showUpdateParametersButton}">
<form action="" name="lparamsform" id="lparamsform" class="form-horizontal">
<form action="" name="lupdateform" id="lupdateform" class="form-horizontal">
<div class="form-group form-group-sm">
<div class="col-12">
<input class="btn btn-default t3js-linkCurrent" type="submit" value="{f:translate(key: 'LLL:EXT:recordlist/Resources/Private/Language/locallang_browse_links.xlf:update')}" />
......
Markdown is supported
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