个人信息中的学校改为选填

This commit is contained in:
virusdefender
2016-05-13 12:12:50 +08:00
parent 0f7c853783
commit 4737e970f5
3 changed files with 3 additions and 12 deletions

View File

@@ -31,14 +31,6 @@ require(["jquery", "bsAlert", "csrfToken", "validator"], function ($, bsAlert, c
return false;
}
});
$("#school").blur(function () {
var school = $("#school").val().trim(school).toLowerCase();
if (school == "青岛大学" || school == "qdu" || school == "青大") {
$("#stu_id").show();
$("#school").val("青岛大学");
}
});
function refresh_captcha() {
$("#captcha-img")[0].src = "/captcha/?" + Math.random();
$("#captcha")[0].value = "";