修改delRow中compileId传值bug
This commit is contained in:
@@ -140,7 +140,7 @@ var checkboxes=$("#${id} ${value} tbody tr td input.i-checks:checkbox");
|
|||||||
if(str.substr(str.length-1)== ','){
|
if(str.substr(str.length-1)== ','){
|
||||||
ids = str.substr(0,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);
|
compileIds = compileIdStr.substr(0,compileIdStr.length-1);
|
||||||
}
|
}
|
||||||
if(ids == ""){
|
if(ids == ""){
|
||||||
@@ -152,9 +152,9 @@ var checkboxes=$("#${id} ${value} tbody tr td input.i-checks:checkbox");
|
|||||||
|
|
||||||
if(v=="ok"){
|
if(v=="ok"){
|
||||||
if(url.indexOf("?")>0){
|
if(url.indexOf("?")>0){
|
||||||
window.location = url+"&ids="+ids+"&compileIds"+compileIds;
|
window.location = url+"&ids="+ids+"&compileIds="+compileIds;
|
||||||
}else{
|
}else{
|
||||||
window.location = url+"?ids="+ids+"&compileIds"+compileIds;
|
window.location = url+"?ids="+ids+"&compileIds="+compileIds;
|
||||||
}
|
}
|
||||||
|
|
||||||
//$("#searchForm").submit();
|
//$("#searchForm").submit();
|
||||||
|
|||||||
Reference in New Issue
Block a user