Commit 57df2089 by Chris Dodge

return after warning user that not all create new course fields have been filled out

parent 2aee549a
......@@ -498,7 +498,8 @@ function saveNewCourse(e) {
display_name = $(this).prevAll('.new-course-name').val();
if (org == '' || number == '' || display_name == ''){
alert('You must specify all fields in order to create a new course.')
alert('You must specify all fields in order to create a new course.');
return;
}
$.post('/create_new_course',
......
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