去掉重复的ajaxKeyinfIsUsed调用
This commit is contained in:
@@ -242,24 +242,6 @@ function cancelPassOpt(url){
|
||||
});
|
||||
}
|
||||
}
|
||||
if(canCancel){
|
||||
//查询证书是否被拦截策略引用
|
||||
if(compileIds.length > 0){
|
||||
$.ajax({
|
||||
type:'post',
|
||||
url:'${ctx}/proxy/intercept/strateagy/ajaxKeyinfIsUsed',
|
||||
data:{"compileIds":compileIds.join(',')},
|
||||
async:false,
|
||||
success:function(data){//处理返回结果
|
||||
if(data == false){
|
||||
top.$.jBox.tip('<spring:message code="keyring_is_used"/>');
|
||||
canCancel=data;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
if(canCancel){
|
||||
doAll(checkboxes,url);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user