|
Lines 64-74
sub _get_chunk {
Link Here
|
| 64 |
if( $options{'syntax'} ){ |
64 |
if( $options{'syntax'} ){ |
| 65 |
$chunk->{'syntax'} = $options{'syntax'}; |
65 |
$chunk->{'syntax'} = $options{'syntax'}; |
| 66 |
} |
66 |
} |
| 67 |
|
67 |
if( $options{'type'} ) { |
| 68 |
if( $options{'type'} && $options{'type'} eq 'modalselect' ){ |
68 |
if( $options{'type'} eq 'modalselect' ){ |
| 69 |
$chunk->{'source'} = $options{'source'}; |
69 |
$chunk->{'source'} = $options{'source'}; |
| 70 |
$chunk->{'exclusions'} = $options{'exclusions'} // ""; |
70 |
$chunk->{'exclusions'} = $options{'exclusions'} // ""; |
| 71 |
$chunk->{'type'} = 'modalselect'; |
71 |
$chunk->{'type'} = 'modalselect'; |
|
|
72 |
} elsif( $options{'type'} eq 'modaljs' ){ |
| 73 |
$chunk->{'type'} = 'modaljs'; |
| 74 |
$chunk->{'initiator'} = $options{'initiator'}; |
| 75 |
$chunk->{'processor'} = $options{'processor'}; |
| 76 |
} |
| 72 |
} |
77 |
} |
| 73 |
|
78 |
|
| 74 |
if ( $options{'class'} && $options{'class'} eq 'password' ) { |
79 |
if ( $options{'class'} && $options{'class'} eq 'password' ) { |