From 1de495dc92cac0b8c5ee8c68e516ae0728e45c0b Mon Sep 17 00:00:00 2001 From: cxt Date: Tue, 19 Mar 2019 18:05:58 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/javascripts/educoder/edu_account.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/javascripts/educoder/edu_account.js b/public/javascripts/educoder/edu_account.js index c88238e5..cc76d053 100644 --- a/public/javascripts/educoder/edu_account.js +++ b/public/javascripts/educoder/edu_account.js @@ -1033,7 +1033,7 @@ function submit_pro_certification(type){ } else if (data.result == 1){ if(($("#user_certi_school_id").length == 1 && $("#user_certi_school_id").val() != $("input[name='occupation']").val().trim()) || - ($("#user_certi_identity").length == 1 && $("#user_certi_identity").val() != $("input[name='identity']").val().trim())){ + ($("#user_certi_identity").length == 1 && $("#user_certi_identity").val() != $("select[name='identity']").val().trim())){ var htmlvalue = '
提示
'+ '

修改单位名称/职业后需要重新申请试用授权

'; @@ -1056,7 +1056,7 @@ function submit_pro_certification(type){ }); } else{ if(($("#user_certi_school_id").length == 1 && $("#user_certi_school_id").val() != $("input[name='occupation']").val().trim()) || - ($("#user_certi_identity").length == 1 && $("#user_certi_identity").val() != $("input[name='identity']").val().trim())){ + ($("#user_certi_identity").length == 1 && $("#user_certi_identity").val() != $("select[name='identity']").val().trim())){ var htmlvalue = '
提示
'+ '

修改单位名称/职业后需要重新申请试用授权

'; @@ -1613,7 +1613,7 @@ function my_account_form_submit() { } else if (data.result == 1){ if(($("#user_certi_school_id").length == 1 && $("#user_certi_school_id").val() != $("input[name='occupation']").val().trim()) || - ($("#user_certi_identity").length == 1 && $("#user_certi_identity").val() != $("input[name='identity']").val().trim())){ + ($("#user_certi_identity").length == 1 && $("#user_certi_identity").val() != $("select[name='identity']").val().trim())){ var htmlvalue = '
提示
'+ '

修改单位名称/职业后需要重新申请试用授权

';