# Conflicts:
#	app/controllers/ecloud_controller.rb
dev_haigong
guange 6 years ago
parent 69db176e48
commit d627f3a0b9

@ -1521,7 +1521,7 @@ function my_account_form_submit() {
} }
} }
if ($("input[name='new_password']").length>0){
if($("input[name='new_password']").val().length<8){ if($("input[name='new_password']").val().length<8){
$("#new_password").focus(); $("#new_password").focus();
$("#new_password_hint").show(); $("#new_password_hint").show();
@ -1537,6 +1537,8 @@ function my_account_form_submit() {
} else { } else {
$("#new_password_confirmation_hint").hide(); $("#new_password_confirmation_hint").hide();
} }
}
if ($("#userIdentity").val() == -1) { if ($("#userIdentity").val() == -1) {
$("#identity_hint").show(); $("#identity_hint").show();

Loading…
Cancel
Save