Skip to content

Commit

Permalink
Merge pull request #7 from lrobertson39/master
Browse files Browse the repository at this point in the history
Fix regressions in recent release
  • Loading branch information
vimil committed May 19, 2014
2 parents 8d35518 + a790bef commit 19dac72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public ExtendedChoiceParameterDefinition newInstance(StaplerRequest req, JSONObj
type = formData.getString("type");
description = formData.getString("description");
quoteValue = formData.getBoolean("quoteValue");
visibleItemCount = formData.getInt("visibleItemCount");
visibleItemCount = formData.optInt("visibleItemCount");
multiSelectDelimiter = formData.getString("multiSelectDelimiter");

JSONObject propertySourceJSON = (JSONObject)formData.get("propertySource");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<f:section title="Choose Source for Value">
<f:radioBlock name="propertySource" title="Value" value="0" checked="${not empty instance.value}">
<f:entry title="Value" field="propertyValue">
<f:textbox />
<f:textbox value="${instance.value}"/>
</f:entry>
</f:radioBlock>

Expand Down

0 comments on commit 19dac72

Please sign in to comment.