From: chapel Date: Sat, 19 Nov 2011 22:22:46 +0000 (-0800) Subject: Multiple fixes X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=108b4f41df3bd703ba1beaef80013f2ef0c810da;p=oweals%2Ffinalsclub.git Multiple fixes - Fix not found errors - Fix pass reset link in html - Fix protodiv error in IE - Fix button for new items showing when it shouldn't - Move login info to use jquery to fill name --- diff --git a/app.js b/app.js index 27d2fc5..62c543c 100644 --- a/app.js +++ b/app.js @@ -327,7 +327,7 @@ function loadSchool( req, res, next ) { }); } else { // If no school is found, display an appropriate error. - sendJson(res, {status: 'error', message: 'Invalid school specified!'} ); + sendJson(res, {status: 'not_found', message: 'Invalid school specified!'} ); } }); } @@ -351,7 +351,7 @@ function loadCourse( req, res, next ) { }); } else { // If no course is found, display an appropriate error. - sendJson(res, {status: 'error', message: 'Invalid course specified!'} ); + sendJson(res, {status: 'not_found', message: 'Invalid course specified!'} ); } }); } @@ -375,7 +375,7 @@ function loadLecture( req, res, next ) { }); } else { // If no lecture is found, display an appropriate error. - sendJson(res, {status: 'error', message: 'Invalid lecture specified!'} ); + sendJson(res, {status: 'not_found', message: 'Invalid lecture specified!'} ); } }); } diff --git a/public/index.html b/public/index.html index 5b5d069..cd42b6c 100644 --- a/public/index.html +++ b/public/index.html @@ -24,7 +24,7 @@
-
Currently logged in as __name__
+