Merge pull request #5499 from cpennington/cale/fix-js-typo
Fix typo in #5392 (encodeURICoponont)
This commit is contained in:
@@ -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.")}"
|
||||
|
||||
Reference in New Issue
Block a user