From 2dce53ede3cf6990ac4423f5acea8e3c43751aab Mon Sep 17 00:00:00 2001 From: Jagad R R Date: Tue, 4 Mar 2025 13:19:42 +0700 Subject: [PATCH] Update index.blade.php --- resources/views/backend/pages/forms/other/index.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/backend/pages/forms/other/index.blade.php b/resources/views/backend/pages/forms/other/index.blade.php index ce9cd91..aa5e4ca 100644 --- a/resources/views/backend/pages/forms/other/index.blade.php +++ b/resources/views/backend/pages/forms/other/index.blade.php @@ -438,7 +438,7 @@ } // Handle Approve Button Click - $('.open-approve-modal').on('click', function () { + $(document).on('click', '.open-approve-modal', function() { const approveUrl = $(this).data('id'); // Show spinner and hide content initially @@ -485,7 +485,7 @@ }); // Handle Approve Button Click - $('.final-approve-modal').on('click', function () { + $(document).on('click', '.final-approve-modal', function() { const approveUrl = $(this).data('id'); // Show spinner and hide content initially