@@ -, +, @@ --- admin/preferences.pl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) --- a/admin/preferences.pl +++ a/admin/preferences.pl @@ -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'}; } --