Commit 2690f784 by Calen Pennington Committed by Nimisha Asthagiri

Fix typo in #5392 (encodeURICoponont)

parent 58cb7161
......@@ -70,7 +70,7 @@
location.href = "${reverse('dashboard')}";
} else if (xhr.status == 403) {
location.href = "${reverse('signin_user')}?course_id=" +
encodeURIComponont($("#unenroll_course_id").val()) + "&enrollment_action=unenroll";
encodeURIComponent($("#unenroll_course_id").val()) + "&enrollment_action=unenroll";
} else {
$('#unenroll_error').html(
xhr.responseText ? xhr.responseText : "${_("An error occurred. Please try again later.")}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment