Commit d1ec21ed by Diana Huang Committed by Jay Zoldak

Fix Javascript bugs that arose during refactoring.

parent b9ccc37c
......@@ -22,10 +22,11 @@ var submitToPaymentProcessing = function() {
{
contribution = contribution_input.val();
}
var course_id = $("input[name='course_id']").val();
var xhr = $.post(
"create_order",
"/verify_student/create_order",
{
"course_id" : "${course_id}",
"course_id" : course_id,
"contribution": contribution
},
function(data) {
......
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