Skip to content

Commit

Permalink
[FIXED JENKINS-28110] Always generate stapler-class, even when genera…
Browse files Browse the repository at this point in the history
…ting kind.

(cherry picked from commit ef2b658)
  • Loading branch information
jglick committed May 14, 2015
1 parent 83c7f84 commit 2e51740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/resources/lib/form/class-entry.jelly
Expand Up @@ -46,12 +46,12 @@ THE SOFTWARE.
</st:documentation>
<j:set var="clazz" value="${attrs.clazz ?: attrs.descriptor.clazz.name}" />
<f:invisibleEntry>
<input type="hidden" name="stapler-class" value="${clazz}" /> <!-- Legacy: Remove once plugins have been staged onto $class -->
<j:choose>
<j:when test="${attrs.descriptor != null and attrs.descriptor.id != clazz}">
<input type="hidden" name="kind" value="${attrs.descriptor.id}" />
</j:when>
<j:otherwise>
<input type="hidden" name="stapler-class" value="${clazz}" /> <!-- Legacy: Remove once plugins have been staged onto $class -->
<input type="hidden" name="$class" value="${clazz}" />
</j:otherwise>
</j:choose>
Expand Down

0 comments on commit 2e51740

Please sign in to comment.