Bug #1934 » bad_add_another.patch
rudder-web/src/main/scala/com/normation/rudder/web/services/Section2FieldService.scala | ||
---|---|---|
val sectionFields = for (sectionMap <- seqOfSectionMap) yield createSingleSectionField(sectionMap)
|
||
if (section.isMultivalued)
|
||
MultivaluedSectionField(sectionFields, () => createSectionField(section))
|
||
else
|
||
if (section.isMultivalued) {
|
||
MultivaluedSectionField(sectionFields, () => createSingleSectionField(createDefaultMap(section)))
|
||
} else
|
||
sectionFields.head
|
||
}
|
||
- « Previous
- 1
- 2
- Next »