提交 3fdeb942 编写于 作者: K kohsuke

set the 'var' variable to null while inserting the template.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@35975 71c3de6d-444a-0410-be80-ed276b4c234a
上级 4e8c1fc5
......@@ -121,7 +121,10 @@ THE SOFTWARE.
<!-- The first DIV is the master copy. -->
<div class="repeated-chunk to-be-removed" name="${name}">
<j:if test="${!empty(header)}"><div class="dd-handle">${header}</div></j:if>
<d:invokeBody />
<j:scope>
<j:set var="${var}" value="${null}"/>
<d:invokeBody />
</j:scope>
</div>
<!-- then populate them for each item -->
<j:forEach var="loop" varStatus="loopStatus" items="${items}">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册