From 702edf79087cbe71b355214d068de9f3b4c43eaa Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Tue, 29 Oct 2024 15:34:00 -0700 Subject: [PATCH] Remove x from select dropdown --- resources/views/reports/custom.blade.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/resources/views/reports/custom.blade.php b/resources/views/reports/custom.blade.php index 818a3ef591..af649cd17a 100644 --- a/resources/views/reports/custom.blade.php +++ b/resources/views/reports/custom.blade.php @@ -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" > @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) {