Skip to content

Commit 4d6909a

Browse files
committed
Use invisibleEntry instead of tables
Found in jenkinsci/copyartifact-plugin#134
1 parent c43543d commit 4d6909a

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

src/main/resources/org/jenkinsci/plugins/scripted_cloud/ScriptedCloudSlave/configure-entries.jelly

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,7 @@ description="${%Can this slave be used for multiple builds?}" field="reusable">
5757
<j:set var="descriptor" value="${d}"/>
5858
<j:set var="instance"
5959
value="${it.delegateLauncher.descriptor==d ? it.delegateLauncher : null}"/>
60-
<tr>
61-
<td>
62-
<input type="hidden" name="stapler-class" value="${d.clazz.name}"/>
63-
</td>
64-
</tr>
60+
<f:invisibleEntry><input type="hidden" name="stapler-class" value="${d.clazz.name}"/></f:invisibleEntry>
6561
<st:include from="${d}" page="${d.configPage}" optional="true"/>
6662
</f:dropdownListBlock>
6763
</j:forEach>
@@ -79,11 +75,7 @@ description="${%Can this slave be used for multiple builds?}" field="reusable">
7975
<j:set var="descriptor" value="${d}"/>
8076
<j:set var="instance"
8177
value="${it.retentionStrategy.descriptor==d ? it.retentionStrategy : null}"/>
82-
<tr>
83-
<td>
84-
<input type="hidden" name="stapler-class" value="${d.clazz.name}"/>
85-
</td>
86-
</tr>
78+
<f:invisibleEntry><input type="hidden" name="stapler-class" value="${d.clazz.name}"/></f:invisibleEntry>
8779
<st:include from="${d}" page="${d.configPage}" optional="true"/>
8880
</f:dropdownListBlock>
8981
</j:if>

0 commit comments

Comments
 (0)