mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Remove x from select dropdown
This commit is contained in:
parent
54b4db86d2
commit
702edf7908
|
@ -594,7 +594,6 @@
|
||||||
id="saved_report_select"
|
id="saved_report_select"
|
||||||
class="form-control select2"
|
class="form-control select2"
|
||||||
data-placeholder="{{ trans('admin/reports/general.select_a_template') }}"
|
data-placeholder="{{ trans('admin/reports/general.select_a_template') }}"
|
||||||
data-allow-clear="true"
|
|
||||||
>
|
>
|
||||||
<option></option>
|
<option></option>
|
||||||
@foreach($report_templates as $savedTemplate)
|
@foreach($report_templates as $savedTemplate)
|
||||||
|
@ -711,9 +710,6 @@
|
||||||
$('#saved_report_select')
|
$('#saved_report_select')
|
||||||
.on('select2:select', function (event) {
|
.on('select2:select', function (event) {
|
||||||
window.location.href = '/reports/templates/' + event.params.data.id;
|
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) {
|
$('#dataConfirmModal').on('show.bs.modal', function (event) {
|
||||||
|
|
Loading…
Reference in a new issue