修复域名拦截域名验证使用了url,应该使用domainCheck
This commit is contained in:
@@ -42,7 +42,7 @@
|
|||||||
$(element).parents(".form-group").find("div[for='"+element.attr("name")+"']").append(error);
|
$(element).parents(".form-group").find("div[for='"+element.attr("name")+"']").append(error);
|
||||||
},
|
},
|
||||||
submitHandler: function(form){
|
submitHandler: function(form){
|
||||||
//loading('onloading...');
|
loading('onloading...');
|
||||||
form.submit();
|
form.submit();
|
||||||
},
|
},
|
||||||
errorContainer: "#messageBox",
|
errorContainer: "#messageBox",
|
||||||
@@ -155,7 +155,7 @@
|
|||||||
<div class="form-group ">
|
<div class="form-group ">
|
||||||
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="domain_name"/></label>
|
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="domain_name"/></label>
|
||||||
<div class="col-md-6">
|
<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>
|
||||||
<div for="cfgKeywords"></div>
|
<div for="cfgKeywords"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user