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