Commit 7bd0296b by Matthew Mongeau

Direct form to /courses not /info

parent 9202c1e2
...@@ -68,7 +68,7 @@ function postJSON(url, data, callback) { ...@@ -68,7 +68,7 @@ function postJSON(url, data, callback) {
submit_data, submit_data,
function(json) { function(json) {
if(json.success) { if(json.success) {
location.href="/info"; location.href="/courses";
} else if($('#login_error').length == 0) { } else if($('#login_error').length == 0) {
$('#login_form').prepend('<div id="login_error">Email or password is incorrect.</div>'); $('#login_form').prepend('<div id="login_error">Email or password is incorrect.</div>');
} else { } else {
......
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