Lines 58-68
sub _get_chunk {
Link Here
|
58 |
if( $options{'syntax'} ){ |
58 |
if( $options{'syntax'} ){ |
59 |
$chunk->{'syntax'} = $options{'syntax'}; |
59 |
$chunk->{'syntax'} = $options{'syntax'}; |
60 |
} |
60 |
} |
61 |
|
61 |
if( $options{'type'} ) { |
62 |
if( $options{'type'} && $options{'type'} eq 'modalselect' ){ |
62 |
if( $options{'type'} eq 'modalselect' ){ |
63 |
$chunk->{'source'} = $options{'source'}; |
63 |
$chunk->{'source'} = $options{'source'}; |
64 |
$chunk->{'exclusions'} = $options{'exclusions'} // ""; |
64 |
$chunk->{'exclusions'} = $options{'exclusions'} // ""; |
65 |
$chunk->{'type'} = 'modalselect'; |
65 |
$chunk->{'type'} = 'modalselect'; |
|
|
66 |
} elsif( $options{'type'} eq 'modaljs' ){ |
67 |
$chunk->{'type'} = 'modaljs'; |
68 |
$chunk->{'initiator'} = $options{'initiator'}; |
69 |
$chunk->{'processor'} = $options{'processor'}; |
70 |
} |
66 |
} |
71 |
} |
67 |
|
72 |
|
68 |
if ( $options{'class'} && $options{'class'} eq 'password' ) { |
73 |
if ( $options{'class'} && $options{'class'} eq 'password' ) { |