表单关键字修改.

This commit is contained in:
zhangwenqing
2018-09-14 12:16:15 +08:00
parent 023317f2e4
commit e2ada46d9f

View File

@@ -275,8 +275,7 @@ $(function(){
var objNamePrefix = $(this).attr("name").split("cfgKeywords")[0];
var isTags = $(this).hasClass("tags");//有tags样式的关键字输入框才需处理
if(typeof(tagsId)!=='undefined' && tagsId.indexOf("tags_")!=-1 && isTags){
if($("input:radio[name='"+objNamePrefix+"exprType']").val()==0){
//$("select[name='"+objNamePrefix+"matchMethod']").find("option[value!=0]").attr("disabled",true);
if($("input:radio[name='"+objNamePrefix+"exprType'][checked=checked]").val()==0){
options = $("select[name='"+objNamePrefix+"matchMethod']").find("option[value!=0]").clone();
$("select[name='"+objNamePrefix+"matchMethod']").find("option[value!=0]").remove();
}
@@ -357,7 +356,7 @@ $(function(){
setDefaultMatchMethod(this);
});
$("input[name$='exprType']:checked").each(function(){
setDefaultMatchMethod(this);
//setDefaultMatchMethod(this);
});
//获取配置日志总数
getTotalLog();