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