|
Lines 292-299
Link Here
|
| 292 |
[% END %] |
292 |
[% END %] |
| 293 |
|
293 |
|
| 294 |
$(document).on("shown.bs.modal", function(){ |
294 |
$(document).on("shown.bs.modal", function(){ |
| 295 |
$('select[name="sort1_filter"]').select2({allowClear:true}); |
295 |
$('select[name="sort1_filter"]').select2({allowClear:true,dropdownParent:$('#patron_search_modal')}); |
| 296 |
$('select[name="sort2_filter"]').select2({allowClear:true}); |
296 |
$('select[name="sort2_filter"]').select2({allowClear:true,dropdownParent:$('#patron_search_modal')}); |
| 297 |
}).on("hidden.bs.modal", function(){ |
297 |
}).on("hidden.bs.modal", function(){ |
| 298 |
["sort1_filter", "sort2_filter"].forEach(function(item){ |
298 |
["sort1_filter", "sort2_filter"].forEach(function(item){ |
| 299 |
if( $('select[name=' + item + ']').data("select2") ){ |
299 |
if( $('select[name=' + item + ']').data("select2") ){ |
| 300 |
- |
|
|