From c2b16db99a87204a869d6c68d9bc60be9dd1e32b Mon Sep 17 00:00:00 2001 From: duandongmei Date: Thu, 14 Jun 2018 16:04:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9delRow=E4=B8=ADcompileId?= =?UTF-8?q?=E4=BC=A0=E5=80=BCbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/tags/sys/delRow.tag | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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();