Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-27375] the nested configuration in enabled / disabled sectio…
…n is enabled only when inheriting ChoiceListProviderDescriptor.
  • Loading branch information
ikedam committed Apr 26, 2015
1 parent 4273077 commit 5b1ff21
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -118,7 +118,10 @@ public boolean configure(StaplerRequest req, JSONObject json) throws hudson.mode
if(o != null)
{
configuredChoiceListEnableMap.put(d.getId(), true);
d.configure(req, o);
if(d instanceof ChoiceListProviderDescriptor)
{
d.configure(req, o);
}
}
else
{
Expand Down

0 comments on commit 5b1ff21

Please sign in to comment.