注释掉${_cfg.behavCode}的判断,页面修改时直接调用ajax添加行为
This commit is contained in:
@@ -97,9 +97,9 @@ $(function(){
|
|||||||
},
|
},
|
||||||
errorContainer: "#messageBox",
|
errorContainer: "#messageBox",
|
||||||
});
|
});
|
||||||
if('${_cfg.behavCode}'){
|
//if('${_cfg.behavCode}'){
|
||||||
ajaxBehaviour($("#specServiceIdId").val());
|
ajaxBehaviour($("#specServiceIdId").val());
|
||||||
}
|
//}
|
||||||
$("#specServiceIdId").on("change",function(){
|
$("#specServiceIdId").on("change",function(){
|
||||||
ajaxBehaviour($(this).val());
|
ajaxBehaviour($(this).val());
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -85,9 +85,9 @@ $(function(){
|
|||||||
},
|
},
|
||||||
errorContainer: "#messageBox",
|
errorContainer: "#messageBox",
|
||||||
});
|
});
|
||||||
if('${_cfg.behavCode}'){
|
//if('${_cfg.behavCode}'){
|
||||||
ajaxBehaviour($("#specServiceIdId").val());
|
ajaxBehaviour($("#specServiceIdId").val());
|
||||||
}
|
//}
|
||||||
$("#specServiceIdId").on("change",function(){
|
$("#specServiceIdId").on("change",function(){
|
||||||
ajaxBehaviour($(this).val());
|
ajaxBehaviour($(this).val());
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user