取消username,email字段失去焦点再发送验证请求

This commit is contained in:
sxw
2015-08-06 16:33:37 +08:00
parent 65dfd1149b
commit 8e8909973e

View File

@@ -4,7 +4,6 @@ require(["jquery", "bs_alert", "csrf", "validation"], function ($, bs_alert, csr
framework: "bootstrap", framework: "bootstrap",
fields: { fields: {
username: { username: {
trigger: 'blur',
validators: { validators: {
notEmpty: { notEmpty: {
message: "请填写用户名" message: "请填写用户名"
@@ -55,7 +54,6 @@ require(["jquery", "bs_alert", "csrf", "validation"], function ($, bs_alert, csr
} }
}, },
email: { email: {
trigger: 'blur',
validators: { validators: {
notEmpty: { notEmpty: {
message: "请填写电子邮箱邮箱地址" message: "请填写电子邮箱邮箱地址"