Skip to content
Permalink
Browse files

[FIXED JENKINS-45823] Fix the defaulting of jelly form values

  • Loading branch information...
stephenc committed Jul 27, 2017
1 parent 077ed0f commit 853c294ae34fbd9f7156b51c56ee51a886702aee
@@ -26,11 +26,11 @@
<f:optionalBlock title="${%Discard old items}" field="pruneDeadBranches" inline="true">
<f:entry title="${%Days to keep old items}"
description="${%if not empty, old items are only kept up to this number of days}" field="daysToKeepStr" >
<f:number clazz="number" min="0" step="1"/>
<f:number clazz="positive-number" min="1" step="1" default=""/>
</f:entry>
<f:entry title="${%Max # of old items to keep}"
description="${%if not empty, only up to this number of old items are kept}" field="numToKeepStr">
<f:number clazz="number" min="0" step="1"/>
<f:number clazz="positive-number" min="1" step="1" default=""/>
</f:entry>
</f:optionalBlock>
</j:jelly>
@@ -24,6 +24,6 @@
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<f:entry title="${%Interval}" field="interval">
<f:select/>
<f:select default="1d"/>
</f:entry>
</j:jelly>

0 comments on commit 853c294

Please sign in to comment.
You can’t perform that action at this time.