From 69680b51a6ed22895cadac5b1a5526921d142348 Mon Sep 17 00:00:00 2001 From: bledsoef Date: Thu, 22 Aug 2024 15:30:18 -0400 Subject: [PATCH 1/3] added in a let to fix withdrawals on chrome --- app/static/js/slcManagement.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/static/js/slcManagement.js b/app/static/js/slcManagement.js index 96ab347c4..825c702f6 100644 --- a/app/static/js/slcManagement.js +++ b/app/static/js/slcManagement.js @@ -130,7 +130,7 @@ function renew(){ } function withdraw(){ // uses hidden label to withdraw course - courseID = $("#courseID").val(); + let courseID = $("#courseID").val(); $.ajax({ url: `/serviceLearning/withdraw/${courseID}`, type: "POST", From 54b1dac5bef0f339f5611744f26948891b647aa6 Mon Sep 17 00:00:00 2001 From: bledsoef Date: Thu, 22 Aug 2024 15:53:23 -0400 Subject: [PATCH 2/3] added in a let to fix renewals on chrome --- app/static/js/slcManagement.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/static/js/slcManagement.js b/app/static/js/slcManagement.js index 825c702f6..7e18f40a7 100644 --- a/app/static/js/slcManagement.js +++ b/app/static/js/slcManagement.js @@ -114,7 +114,7 @@ function changeAction(action){ } function renew(){ - courseID = $("#courseID").val(); + let courseID = $("#courseID").val(); termID = $('#renewTerm').find(":selected").val() $.ajax({ url: `/serviceLearning/renew/${courseID}/${termID}/`, From 6ceed4f55de8f8476c3a18d5385b34fa12388709 Mon Sep 17 00:00:00 2001 From: bledsoef Date: Thu, 22 Aug 2024 15:54:46 -0400 Subject: [PATCH 3/3] added in another let to fix renewals on chrome --- app/static/js/slcManagement.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/static/js/slcManagement.js b/app/static/js/slcManagement.js index 7e18f40a7..019e6e728 100644 --- a/app/static/js/slcManagement.js +++ b/app/static/js/slcManagement.js @@ -115,7 +115,7 @@ function changeAction(action){ function renew(){ let courseID = $("#courseID").val(); - termID = $('#renewTerm').find(":selected").val() + let termID = $('#renewTerm').find(":selected").val() $.ajax({ url: `/serviceLearning/renew/${courseID}/${termID}/`, type: "POST",