Remove x from select dropdown

This commit is contained in:
Marcus Moore 2024-10-29 15:34:00 -07:00
parent 54b4db86d2
commit 702edf7908
No known key found for this signature in database

View file

@ -594,7 +594,6 @@
id="saved_report_select"
class="form-control select2"
data-placeholder="{{ trans('admin/reports/general.select_a_template') }}"
data-allow-clear="true"
>
<option></option>
@foreach($report_templates as $savedTemplate)
@ -711,9 +710,6 @@
$('#saved_report_select')
.on('select2:select', function (event) {
window.location.href = '/reports/templates/' + event.params.data.id;
})
.on('select2:clearing', function (event) {
window.location.href = '{{ route('reports/custom') }}';
});
$('#dataConfirmModal').on('show.bs.modal', function (event) {