From 54b1dac5bef0f339f5611744f26948891b647aa6 Mon Sep 17 00:00:00 2001 From: bledsoef Date: Thu, 22 Aug 2024 15:53:23 -0400 Subject: [PATCH 1/2] 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 2/2] 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",