Skip to content

Commit

Permalink
- Fix the repeatable Jelly tag: the varStatus property was not set, s…
Browse files Browse the repository at this point in the history
…o it was unusable unless named "loopStatus".
  • Loading branch information
Francis Labrie committed Sep 28, 2023
1 parent 6be55c1 commit 03e6cec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/resources/lib/form/repeatable.jelly
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ THE SOFTWARE.
<j:forEach var="loop" varStatus="loopStatus" items="${items}">
<div class="repeated-chunk" name="${name}">
<j:set var="${var}" value="${loop}" />
<j:set var="${varStatus}" value="${loopStatus}" />
<j:if test="${!empty(header)}"><div class="${readOnlyMode ? '' : 'dd-handle'}">${header}</div></j:if>
<d:invokeBody />
</div>
Expand Down

0 comments on commit 03e6cec

Please sign in to comment.