Commit d321406c by Chris Dodge Committed by Brian Talbot

fix indent

parent f50d3041
...@@ -682,12 +682,12 @@ function saveNewCourse(e) { ...@@ -682,12 +682,12 @@ function saveNewCourse(e) {
}); });
$.post('/create_new_course', { $.post('/create_new_course', {
'org': org, 'org': org,
'number': number, 'number': number,
'display_name': display_name, 'display_name': display_name,
'run': run 'run': run
}, },
function(data) { function(data) {
if (data.id !== undefined) { if (data.id !== undefined) {
window.location = '/' + data.id.replace(/.*:\/\//, ''); window.location = '/' + data.id.replace(/.*:\/\//, '');
} else if (data.ErrMsg !== undefined) { } else if (data.ErrMsg !== undefined) {
......
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