Skip to content
Snippets Groups Projects
Commit ad78185b authored by Max-Ferdinand Zeterberg's avatar Max-Ferdinand Zeterberg
Browse files

fix(notes): make IDs unique

parent 9fd32616
No related branches found
No related tags found
1 merge request!36Resolve "replace uuid"
......@@ -220,7 +220,7 @@
<xsl:for-each select="$targetsUnique">
<li class="note-list">
<xsl:variable name="targetUnique" select="."/>
<xsl:variable name="noteListId" select="generate-id($thisNotes)"/>
<xsl:variable name="noteListId" select="concat(generate-id($thisNotes), '-', .)"/>
<label for="{$noteListId}">
<xsl:variable name="targetIds" select="tokenize($targetUnique, ' ')"/>
<xsl:for-each select="$targetIds">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment