|
Lines 37-48
$(document).ready(function() {
Link Here
|
| 37 |
}); |
37 |
}); |
| 38 |
|
38 |
|
| 39 |
$("#output_format > option:first-child").attr("selected", "selected"); |
39 |
$("#output_format > option:first-child").attr("selected", "selected"); |
| 40 |
$("select[name='csv_profile']").hide(); |
40 |
$("select[name='csv_profile_id']").hide(); |
| 41 |
$(document).on("change", '#output_format', function(){ |
41 |
$(document).on("change", '#output_format', function(){ |
| 42 |
if ( $(this).val() == 'csv' ) { |
42 |
if ( $(this).val() == 'csv' ) { |
| 43 |
$("select[name='csv_profile']").show(); |
43 |
$("select[name='csv_profile_id']").show(); |
| 44 |
} else { |
44 |
} else { |
| 45 |
$("select[name='csv_profile']").hide(); |
45 |
$("select[name='csv_profile_id']").hide(); |
| 46 |
} |
46 |
} |
| 47 |
}); |
47 |
}); |
| 48 |
|
48 |
|
| 49 |
- |
|
|