修复上次提交的问题(新增时报错,删除时按钮点不下去)
This commit is contained in:
@@ -65,11 +65,15 @@
|
||||
if (checkboxes.length == 0) {
|
||||
alertx("请选择一条配置");
|
||||
} else {
|
||||
var ids;
|
||||
var ids = "";
|
||||
checkboxes.each(function(){
|
||||
ids = ids + $(this).attr("id") + ",";
|
||||
});
|
||||
confirmx("<spring:message code='confirm_message'/>", "${ctx}/cfg/dnsIp/delete?cfgIds=" + ids);
|
||||
if (confirm("<spring:message code='confirm_message'/>")) {
|
||||
$("#cfgIds").val(ids);
|
||||
$("#searchForm").attr("action","${ctx}/cfg/dnsIp/delete");
|
||||
$("#searchForm").submit();
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -99,6 +103,7 @@
|
||||
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
|
||||
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
|
||||
<input id="isFilterAction" name="isFilterAction" type="hidden" value="${dnsIpCfg.isFilterAction }"/>
|
||||
<input id="cfgIds" name="cfgIds" type="hidden"/>
|
||||
<!-- 搜索内容与操作按钮栏 -->
|
||||
<div class="col-md-12">
|
||||
<div class="pull-left">
|
||||
|
||||
Reference in New Issue
Block a user