From 3b3f0d9e8c3841f409134861ae1080c741f108cf Mon Sep 17 00:00:00 2001 From: Kenneth Jao Date: Fri, 12 Aug 2016 15:55:35 -0400 Subject: [PATCH] Fixed create class form sending --- hourglass/client/profile/profile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hourglass/client/profile/profile.js b/hourglass/client/profile/profile.js index 46a9311..2a64aa5 100644 --- a/hourglass/client/profile/profile.js +++ b/hourglass/client/profile/profile.js @@ -495,12 +495,12 @@ function getCreateFormData() { var hour = form[1].value; var teacher = form[2].value; var name = form[3].value; - if (form[4].value == "public") { + if (form[4].value == "Public") { var privacy = false; } else { var privacy = true; } - var category = form[5].value; + var category = form[5].value.toLowerCase(); return { school: school, hour: hour,