diff --git a/index.html b/index.html index b3ecbdf..1a99f88 100644 --- a/index.html +++ b/index.html @@ -313,6 +313,7 @@ var n_student = 0, n_staff = 0; db.forEach(function (s) { var host = s[0]; + if (host == null) {return;} var accept = false; if (host.startsWith("GRL") && checkbox["GRL"]) { accept = true; @@ -320,7 +321,7 @@ accept = true; } else if (host.startsWith("ML2") && checkbox["ML2"]) { accept = true; - } else if (host.startsWith("HSJ")) { + } else if (host.startsWith("IML")) { var no = host.substr(4); var candidate = ["01","02","03","04","05","06", "11","12","13","14","15","16", @@ -382,7 +383,7 @@ ["GRL", "ML1", "ML2", "IML", "IML-A", "IML-B", "uniq"].forEach( function (s) {if($("#"+s).prop("checked")) {query.unshift(s+"=true");}}); query = query.join('&'); - window.location.href = "/~tkuro/cgi-bin/attend/call.cgi?"+query+"&excel=true"; + window.location.href = "https://cs.kwansei.ac.jp/junbi/attend/call.cgi?"+query+"&excel=true"; }