From 01325d3edf7713089bca3a954ad9fcb17ba81c34 Mon Sep 17 00:00:00 2001 From: isaacclad Date: Thu, 18 Jun 2026 13:54:18 +0000 Subject: [PATCH] Fix file manager select-all and delete actions. Correct a JavaScript syntax error that prevented the file manager Alpine component from loading, and include the confirm modal in the hosting panel layout so delete prompts render. Co-authored-by: Cursor --- resources/views/components/hosting-panel-layout.blade.php | 2 ++ resources/views/hosting/panel/files.blade.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/views/components/hosting-panel-layout.blade.php b/resources/views/components/hosting-panel-layout.blade.php index 978ac9e..9b2a05f 100644 --- a/resources/views/components/hosting-panel-layout.blade.php +++ b/resources/views/components/hosting-panel-layout.blade.php @@ -68,6 +68,8 @@ + @include('partials.confirm-prompt') + @stack('scripts') diff --git a/resources/views/hosting/panel/files.blade.php b/resources/views/hosting/panel/files.blade.php index 9d873b6..c9c482b 100644 --- a/resources/views/hosting/panel/files.blade.php +++ b/resources/views/hosting/panel/files.blade.php @@ -418,7 +418,7 @@ this.selected = event.target.checked ? [...this.allPaths] : []; }, - async async async bulkAction(action) { + async bulkAction(action) { if (action === 'delete') { if (!await this.$store.ladillConfirm.ask({ title: 'Delete items?', message: 'Delete ' + this.selected.length + ' item(s)? This cannot be undone.' })) return; this.submitBulkDelete();