ASN ip,APP特征业务的配置批量取消功能完成
This commit is contained in:
@@ -290,10 +290,18 @@ function cancelPassOpt(url){
|
||||
|| url.indexOf("functionId=211&") > -1 //whitelist
|
||||
|| url.indexOf("functionId=213&") > -1 //Cache
|
||||
|| url.indexOf("functionId=560&") > -1 //Focused Website
|
||||
|| url.indexOf("functionId=405&") > -1 //APP IP
|
||||
|| url.indexOf("functionId=403&") > -1 //APP DOMAIN
|
||||
//|| url.indexOf("functionId=520&") > -1 //APP SSL CERT
|
||||
|| url.indexOf("functionId=563&") > -1 //APP Payload
|
||||
|| url.indexOf("functionId=565&") > -1 //APP HTTP
|
||||
|| url.indexOf("functionId=566&") > -1 //APP SSL
|
||||
|| url.indexOf("functionId=564&") > -1 //APP DNS
|
||||
|| url.indexOf("functionId=400&") > -1 //DNS Response Profiles
|
||||
|| url.indexOf("functionId=401&") > -1 //Spoofing IP
|
||||
|| url.indexOf("functionId=570&") > -1 //Key Ring
|
||||
|| url.indexOf("functionId=571&") > -1 //Trusted Certificate
|
||||
|| url.indexOf("functionId=600&") > -1 //Trusted Certificate
|
||||
){
|
||||
top.$.jBox.confirm("<spring:message code='confirm_message'/>","<spring:message code='cancel_all'/>",function(v,h,f){
|
||||
if(v=="ok"){
|
||||
|
||||
@@ -80,7 +80,7 @@ $(function(){
|
||||
<div class="form-group asnNo">
|
||||
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="asn_no"/></label>
|
||||
<div class="col-md-6">
|
||||
<input id="asnNo" class="form-control required asnNoUnique number" type="text" name="asnId" value="${_cfg.asnId}" autocomplete="off" maxlength="15" ctx="${ctx }">
|
||||
<input id="asnNo" class="form-control required asnMustExists number" type="text" name="asnId" value="${_cfg.asnId}" autocomplete="off" maxlength="15" ctx="${ctx }">
|
||||
</div>
|
||||
<div for="asnId"></div>
|
||||
</div>
|
||||
|
||||
@@ -962,7 +962,9 @@ jQuery.validator.addMethod("asnNoUnique",function(value, element) {
|
||||
url: url,
|
||||
data:{"id":id,"asnId":value},
|
||||
success:function(data){
|
||||
result = data;
|
||||
if(data != null && data !='' && data != 'undefined'){
|
||||
result=false;
|
||||
}
|
||||
}
|
||||
});
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user