代理拦截修改提交
This commit is contained in:
@@ -878,16 +878,16 @@ jQuery.validator.addMethod("noStrategyCheck",function(value,element) {
|
||||
return flag;
|
||||
});
|
||||
// 代理拦截策略ssl version min小于max校验
|
||||
//jQuery.validator.addMethod("sslVersionCheck",function(value,element) {
|
||||
// var min,max;
|
||||
// if($(element).attr("id")=="min"){
|
||||
// min=element,max=$("#max");
|
||||
// }else{
|
||||
// max=element,min=$("#min");
|
||||
// }
|
||||
// if($(min).find("option:selected").data("sort")>=$(max).find("option:selected").data("sort")){
|
||||
// return false;
|
||||
// }else{
|
||||
// return true;
|
||||
// }
|
||||
//});
|
||||
jQuery.validator.addMethod("sslVersionCheck",function(value,element) {
|
||||
var min,max;
|
||||
if($(element).attr("id")=="min"){
|
||||
min=element,max=$("#max");
|
||||
}else{
|
||||
max=element,min=$("#min");
|
||||
}
|
||||
if($(min).find("option:selected").data("sort")>=$(max).find("option:selected").data("sort")){
|
||||
return false;
|
||||
}else{
|
||||
return true;
|
||||
}
|
||||
});
|
||||
@@ -98,6 +98,7 @@
|
||||
rangeCross0:"The IP {0} must not between {1} and {2}",
|
||||
rangeCross1:"The IP range {0} has intersections with {1}",
|
||||
protectedCfgUnique:"Keyword already exists.",
|
||||
addrList:"Please enter the legitimate targets identification list"
|
||||
addrList:"Please enter the legitimate targets identification list",
|
||||
sslVersionCheck:"Min SSL version should smaller than Max SSL version"
|
||||
});
|
||||
}(jQuery));
|
||||
|
||||
@@ -98,6 +98,7 @@
|
||||
rangeCross0:"IP {0} не должен находиться между {1} и {2}",
|
||||
rangeCross1:"Диапазон IP {0} имеет пересечения с {1}",
|
||||
protectedCfgUnique:"Ключевое слово уже существует.",
|
||||
addrList:"Please enter the legitimate targets identification list"
|
||||
addrList:"Please enter the legitimate targets identification list",
|
||||
sslVersionCheck:"моя версия SSL должны меньше, чем версия SSL, макс"
|
||||
});
|
||||
}(jQuery));
|
||||
|
||||
@@ -98,6 +98,7 @@
|
||||
rangeCross0:"IP{0}不能介于{1}和{2}",
|
||||
rangeCross1:"IP范围{0}和IP范围{1}有交集",
|
||||
protectedCfgUnique:"关键字已存在",
|
||||
addrList:"请输入合法的目标标识列表"
|
||||
addrList:"请输入合法的目标标识列表",
|
||||
sslVersionCheck:"最小SSL协议版本应小于最大SSL协议版本"
|
||||
});
|
||||
}(jQuery));
|
||||
|
||||
Reference in New Issue
Block a user