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

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

No files matched your search

-8
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 = "";