diff --git a/src/main/webapp/WEB-INF/tags/sys/delRow.tag b/src/main/webapp/WEB-INF/tags/sys/delRow.tag index 0b16b16fb..339b31928 100644 --- a/src/main/webapp/WEB-INF/tags/sys/delRow.tag +++ b/src/main/webapp/WEB-INF/tags/sys/delRow.tag @@ -140,7 +140,7 @@ var checkboxes=$("#${id} ${value} tbody tr td input.i-checks:checkbox"); if(str.substr(str.length-1)== ','){ ids = str.substr(0,str.length-1); } - if(compileIdStr.substr(str.length-1)== ','){ + if(compileIdStr.substr(compileIdStr.length-1)== ','){ compileIds = compileIdStr.substr(0,compileIdStr.length-1); } if(ids == ""){ @@ -152,9 +152,9 @@ var checkboxes=$("#${id} ${value} tbody tr td input.i-checks:checkbox"); if(v=="ok"){ if(url.indexOf("?")>0){ - window.location = url+"&ids="+ids+"&compileIds"+compileIds; + window.location = url+"&ids="+ids+"&compileIds="+compileIds; }else{ - window.location = url+"?ids="+ids+"&compileIds"+compileIds; + window.location = url+"?ids="+ids+"&compileIds="+compileIds; } //$("#searchForm").submit();