From 82409d7fdf445b2a9e53d88e4ae7a2226c5fc6cd Mon Sep 17 00:00:00 2001 From: Ryan Eddy <44847768+RyanEddyIC@users.noreply.github.com> Date: Tue, 14 Jan 2025 20:33:47 -0500 Subject: [PATCH] update reinstate modal confirm btn class (#4930) * update reinstate modal confirm btn class * rubocop fix --- app/assets/javascripts/inline_replacements.js | 5 ++--- .../exchanges/hbx_profiles/_view_hbx_enrollments.html.erb | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/inline_replacements.js b/app/assets/javascripts/inline_replacements.js index c1b91f82c1d..52c1a773904 100644 --- a/app/assets/javascripts/inline_replacements.js +++ b/app/assets/javascripts/inline_replacements.js @@ -367,11 +367,10 @@ function confirmReinstate(event){ $(document).on('ajax:success', function() { - - $('.btn-confirmation').on('click', function(e) { + $('.reinstate-modal-confirm-btn').on('click', function(e) { confirmReinstate(e); return false; }); - + $('#reinstate-submit').on('click', reInstateModal); }) diff --git a/app/views/exchanges/hbx_profiles/_view_hbx_enrollments.html.erb b/app/views/exchanges/hbx_profiles/_view_hbx_enrollments.html.erb index 0d66c89923b..39db8f3a98e 100644 --- a/app/views/exchanges/hbx_profiles/_view_hbx_enrollments.html.erb +++ b/app/views/exchanges/hbx_profiles/_view_hbx_enrollments.html.erb @@ -80,7 +80,7 @@