Skip to content
Snippets Groups Projects
Commit 184a8e9c authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Use correct data attribute name for doktype select

When changing the doktype of a page in the "create multiple pages"
wizard, the corresponding icon does now correctly update by using
the correct data attribute name again.

Resolves: #98279
Releases: main, 11.5
Change-Id: Iaba7517e0486c42ce61aeadfe3ce478a27208114
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75637


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent 21414f53
Branches
Tags
No related merge requests found
......@@ -133,7 +133,7 @@
<div id="page_new_icon_{line.index}" class="input-group-addon input-group-icon">
<core:iconForRecord table="pages" row="{id: '0'}" />
</div>
<select id="page_new_select_{line.index}" class="form-select t3js-newmultiplepages-select-doktype" name="pages[NEW{line.index}][doktype]" data-bs-target="#page_new_icon_{line.index}">
<select id="page_new_select_{line.index}" class="form-select t3js-newmultiplepages-select-doktype" name="pages[NEW{line.index}][doktype]" data-target="#page_new_icon_{line.index}">
<f:for each="{line.pageTypes}" as="typegroup" key="group">
<optgroup label="{f:translate(key: '{group}')}">
<f:for each="{typegroup}" as="type">
......
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