[TASK] Add data attributes in backend toolbar and menu components
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Resources / Private / Partials / Menus / SelectBoxJumpMenu.html
index c6c7e7d..bfa9bbb 100644 (file)
@@ -1,5 +1,5 @@
-{menu.label} <select class="form-control t3-js-jumpMenuBox" name="{menu.identifier}" onchange="if(this.options[this.selectedIndex].value){window.location.href=(this.options[this.selectedIndex].value);}">
+{menu.label} <select class="form-control t3-js-jumpMenuBox" name="{menu.identifier}" data-menu-identifier="{menu.dataIdentifier}" onchange="if(this.options[this.selectedIndex].value){window.location.href=(this.options[this.selectedIndex].value);}">
        <f:for each="{menu.menuItems}" as="menuItem">
                <option value="{menuItem.href}" {f:if(condition: '{menuItem.active}', then: ' selected="selected"')}>{menuItem.title}</option>
        </f:for>
-</select>
\ No newline at end of file
+</select>