Commit 8f5dd63e by Waheed Ahmed

Fixed save matlab problem response message.

TNL-1459
parent 0e3f40b9
......@@ -104,6 +104,7 @@
matlab_result_task = new PendingMatlabResult(get_callback);
matlab_result_task.task_poller.start();
} else {
// Used response.message because input_ajax is returning "message"
gentle_alert(problem_elt, response.message);
}
};
......@@ -115,7 +116,8 @@
{'submission': submission}, plot_callback);
}
else {
gentle_alert(problem_elt, response.message);
// Used response.msg because problem_save is returning "msg" instead of "message"
gentle_alert(problem_elt, response.msg);
}
};
......
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