Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[FIXED JENKINS-45823] Fix the defaulting of jelly form values
  • Loading branch information
stephenc committed Jul 27, 2017
1 parent 077ed0f commit 853c294
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -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>
Expand Up @@ -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.