Skip to content

Commit 7c2e864

Browse files
committed
Fix unique nested autotoc tab IDs
and prepare for the upcoming autotoc feature to activate nested tabs. This is done, by prefixing the sub autotoc with the parent tabID.
1 parent 054c20b commit 7c2e864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plone/app/theming/browser/controlpanel.pt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@
333333
>
334334

335335
<div class="pat-autotoc autotabs"
336-
data-pat-autotoc="section:fieldset;levels:legend;"
336+
data-pat-autotoc="section:fieldset;levels:legend;IDPrefix:autotoc-item-autotoc-1-subitem-"
337337
>
338338
<fieldset>
339339
<legend i18n:translate="">Theme details</legend>

0 commit comments

Comments
 (0)