Bug 27378: (QA follow-up) Tidy admin/preferences.pl
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
49bfb9ff39
commit
21ff3d1675
1 changed files with 7 additions and 7 deletions
|
@ -59,14 +59,14 @@ sub _get_chunk {
|
|||
if( $options{'syntax'} ){
|
||||
$chunk->{'syntax'} = $options{'syntax'};
|
||||
}
|
||||
if( $options{'type'} ) {
|
||||
if( $options{'type'} eq 'modalselect' ){
|
||||
$chunk->{'source'} = $options{'source'};
|
||||
if ( $options{'type'} ) {
|
||||
if ( $options{'type'} eq 'modalselect' ) {
|
||||
$chunk->{'source'} = $options{'source'};
|
||||
$chunk->{'exclusions'} = $options{'exclusions'} // "";
|
||||
$chunk->{'required'} = $options{'required'} // "";
|
||||
$chunk->{'type'} = 'modalselect';
|
||||
} elsif( $options{'type'} eq 'modaljs' ){
|
||||
$chunk->{'type'} = 'modaljs';
|
||||
$chunk->{'required'} = $options{'required'} // "";
|
||||
$chunk->{'type'} = 'modalselect';
|
||||
} elsif ( $options{'type'} eq 'modaljs' ) {
|
||||
$chunk->{'type'} = 'modaljs';
|
||||
$chunk->{'initiator'} = $options{'initiator'};
|
||||
$chunk->{'processor'} = $options{'processor'};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue