修复域名拦截域名验证使用了url,应该使用domainCheck

This commit is contained in:
wangxin
2018-07-01 17:40:41 +08:00
parent fff7aec3f2
commit 6d8941e15d

View File

@@ -42,7 +42,7 @@
$(element).parents(".form-group").find("div[for='"+element.attr("name")+"']").append(error);
},
submitHandler: function(form){
//loading('onloading...');
loading('onloading...');
form.submit();
},
errorContainer: "#messageBox",
@@ -155,7 +155,7 @@
<div class="form-group ">
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="domain_name"/></label>
<div class="col-md-6">
<input class="form-control required url" type="text" name="cfgKeywords" value="${_cfg.cfgKeywords}">
<input class="form-control required domainCheck" type="text" name="cfgKeywords" value="${_cfg.cfgKeywords}">
</div>
<div for="cfgKeywords"></div>
</div>