Commit 87147d79 by Waheed Ahmed

Merge pull request #7015 from edx/waheed/tnl1459-fix-save-matlab-message

Fixed save matlab problem response message.
parents 0e3f40b9 8f5dd63e
......@@ -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