修复导出数据为空的情况下异常
This commit is contained in:
@@ -373,7 +373,8 @@ var checkboxes=$("#${id} ${value} tbody tr td input.i-checks:checkbox");
|
|||||||
doAll(checkboxes,url);
|
doAll(checkboxes,url);
|
||||||
//导出检索条件下所有数据
|
//导出检索条件下所有数据
|
||||||
}else{
|
}else{
|
||||||
if($("#showTotalCount").html().trim() > maxRow){
|
var totalCount = $("#showTotalCount").html() == undefined ? '' : $("#showTotalCount").html().trim();
|
||||||
|
if(totalCount > maxRow){
|
||||||
top.$.jBox.confirm("<spring:message code='export_confirm_message'/>"+maxRow+"!","<spring:message code='info'/>",function(v,h,f){
|
top.$.jBox.confirm("<spring:message code='export_confirm_message'/>"+maxRow+"!","<spring:message code='info'/>",function(v,h,f){
|
||||||
if(v=="ok"){
|
if(v=="ok"){
|
||||||
$("#searchForm").attr("action",url);
|
$("#searchForm").attr("action",url);
|
||||||
|
|||||||
Reference in New Issue
Block a user