We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents aa80181 + daf1a64 commit 9061f3aCopy full SHA for 9061f3a
src/resources/views/crud/buttons/delete.blade.php
@@ -5,6 +5,7 @@
5
{{-- Button Javascript --}}
6
{{-- - used right away in AJAX operations (ex: List) --}}
7
{{-- - pushed to the end of the page, after jQuery is loaded, for non-AJAX operations (ex: Show) --}}
8
+@loadOnce('delete_button_script')
9
@push('after_scripts') @if (request()->ajax()) @endpush @endif
10
<script>
11
@@ -93,3 +94,4 @@ function deleteEntry(button) {
93
94
// crud.addFunctionToDataTablesDrawEventQueue('deleteEntry');
95
</script>
96
@if (!request()->ajax()) @endpush @endif
97
+@endLoadOnce
0 commit comments