mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 14:02:22 +00:00
bug fix.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@5541 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
5445b82ac6
commit
c4156324ef
1 file changed
+1
-1
@@ -102,7 +102,7 @@ public class DescribableList<T extends Describable<T>, D extends Descriptor<T>>
|
||||
|
||||
for( int i=0; i< descriptors.size(); i++ ) {
|
||||
String name = prefix + i;
|
||||
if(req.getParameter(name)!=null) {
|
||||
if(json.has(name)) {
|
||||
T instance = descriptors.get(i).newInstance(req,json.getJSONObject(name));
|
||||
newList.add(instance);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user