diff --git a/src/main/resources/static/route/check/get-check-item.html b/src/main/resources/static/route/check/get-check-item.html index 1708c70..e376ede 100644 --- a/src/main/resources/static/route/check/get-check-item.html +++ b/src/main/resources/static/route/check/get-check-item.html @@ -230,7 +230,7 @@ files = files.substring(1); } if(files.charAt(files.length - 1) == ',') { - files = files.substring(0, files.length - 2); + files = files.substring(0, files.length - 1); } initFileList(name, files, function(fileName) {}); }); diff --git a/src/main/resources/static/route/check/save-check.html b/src/main/resources/static/route/check/save-check.html index 9c28d84..09b207a 100644 --- a/src/main/resources/static/route/check/save-check.html +++ b/src/main/resources/static/route/check/save-check.html @@ -646,7 +646,7 @@ files = files.substring(1); } if(files.charAt(files.length - 1) == ',') { - files = files.substring(0, files.length - 2); + files = files.substring(0, files.length - 1); } initFileList(name, files, function(fileName) {}); }); diff --git a/src/main/resources/static/route/check/save-recheck-mine.html b/src/main/resources/static/route/check/save-recheck-mine.html index 0d46767..71e5cf1 100644 --- a/src/main/resources/static/route/check/save-recheck-mine.html +++ b/src/main/resources/static/route/check/save-recheck-mine.html @@ -429,7 +429,7 @@ files = files.substring(1); } if(files.charAt(files.length - 1) == ',') { - files = files.substring(0, files.length - 2); + files = files.substring(0, files.length - 1); } initFileList(name, files, function(fileName) {}); }); diff --git a/src/main/resources/static/route/check/save-taskcheck-mine.html b/src/main/resources/static/route/check/save-taskcheck-mine.html index 4c12c14..6c1938d 100644 --- a/src/main/resources/static/route/check/save-taskcheck-mine.html +++ b/src/main/resources/static/route/check/save-taskcheck-mine.html @@ -433,7 +433,7 @@ files = files.substring(1); } if(files.charAt(files.length - 1) == ',') { - files = files.substring(0, files.length - 2); + files = files.substring(0, files.length - 1); } initFileList(name, files, function(fileName) {}); }); diff --git a/src/main/resources/static/route/checkitem/save-checkitem.html b/src/main/resources/static/route/checkitem/save-checkitem.html index 0ab640e..73769eb 100644 --- a/src/main/resources/static/route/checkitem/save-checkitem.html +++ b/src/main/resources/static/route/checkitem/save-checkitem.html @@ -293,7 +293,7 @@ files = files.substring(1); } if(files.charAt(files.length - 1) == ',') { - files = files.substring(0, files.length - 2); + files = files.substring(0, files.length - 1); } initFileList(name, files, function(fileName) { viewerObj[fileName].update(); @@ -345,7 +345,7 @@ files = files.substring(1); } if(files.charAt(files.length - 1) == ',') { - files = files.substring(0, files.length - 2); + files = files.substring(0, files.length - 1); } initFileList(name, files, function(fileName) { viewerObj[fileName].update(); diff --git a/src/main/resources/static/route/checkitem/update-checkitem.html b/src/main/resources/static/route/checkitem/update-checkitem.html index d042366..418b900 100644 --- a/src/main/resources/static/route/checkitem/update-checkitem.html +++ b/src/main/resources/static/route/checkitem/update-checkitem.html @@ -285,7 +285,7 @@ files = files.substring(1); } if(files.charAt(files.length - 1) == ',') { - files = files.substring(0, files.length - 2); + files = files.substring(0, files.length - 1); } initFileList(name, files, function(fileName) { viewerObj[fileName].update(); @@ -337,7 +337,7 @@ files = files.substring(1); } if(files.charAt(files.length - 1) == ',') { - files = files.substring(0, files.length - 2); + files = files.substring(0, files.length - 1); } initFileList(name, files, function(fileName) { viewerObj[fileName].update(); diff --git a/src/main/resources/static/route/enterprise/save-enterprise.html b/src/main/resources/static/route/enterprise/save-enterprise.html index 81e25ec..a962c5e 100644 --- a/src/main/resources/static/route/enterprise/save-enterprise.html +++ b/src/main/resources/static/route/enterprise/save-enterprise.html @@ -510,7 +510,7 @@ files = files.substring(1); } if(files.charAt(files.length - 1) == ',') { - files = files.substring(0, files.length - 2); + files = files.substring(0, files.length - 1); } initFileList(name, files, function(fileName) { viewerObj[fileName].update(); @@ -562,7 +562,7 @@ files = files.substring(1); } if(files.charAt(files.length - 1) == ',') { - files = files.substring(0, files.length - 2); + files = files.substring(0, files.length - 1); } initFileList(name, files, function(fileName) { viewerObj[fileName].update(); diff --git a/src/main/resources/static/route/enterprise/update-enterprise.html b/src/main/resources/static/route/enterprise/update-enterprise.html index a1d39e6..b09d368 100644 --- a/src/main/resources/static/route/enterprise/update-enterprise.html +++ b/src/main/resources/static/route/enterprise/update-enterprise.html @@ -536,7 +536,7 @@ files = files.substring(1); } if(files.charAt(files.length - 1) == ',') { - files = files.substring(0, files.length - 2); + files = files.substring(0, files.length - 1); } initFileList(name, files, function(fileName) { viewerObj[fileName].update(); @@ -588,7 +588,7 @@ files = files.substring(1); } if(files.charAt(files.length - 1) == ',') { - files = files.substring(0, files.length - 2); + files = files.substring(0, files.length - 1); } initFileList(name, files, function(fileName) { viewerObj[fileName].update(); diff --git a/src/main/resources/static/route/hiddendangerreport/save-hiddendangerreport.html b/src/main/resources/static/route/hiddendangerreport/save-hiddendangerreport.html index 1f69e67..3c18dc9 100644 --- a/src/main/resources/static/route/hiddendangerreport/save-hiddendangerreport.html +++ b/src/main/resources/static/route/hiddendangerreport/save-hiddendangerreport.html @@ -236,7 +236,7 @@ files = files.substring(1); } if(files.charAt(files.length - 1) == ',') { - files = files.substring(0, files.length - 2); + files = files.substring(0, files.length - 1); } initFileList(name, files, function(fileName) { viewerObj[fileName].update(); diff --git a/src/main/resources/static/route/hiddendangerreport/update-hiddendangerreport.html b/src/main/resources/static/route/hiddendangerreport/update-hiddendangerreport.html index be8b848..7c45510 100644 --- a/src/main/resources/static/route/hiddendangerreport/update-hiddendangerreport.html +++ b/src/main/resources/static/route/hiddendangerreport/update-hiddendangerreport.html @@ -243,7 +243,7 @@ files = files.substring(1); } if(files.charAt(files.length - 1) == ',') { - files = files.substring(0, files.length - 2); + files = files.substring(0, files.length - 1); } initFileList(name, files, function(fileName) { viewerObj[fileName].update(); diff --git a/src/main/resources/static/route/publicareareport/save-publicareareport.html b/src/main/resources/static/route/publicareareport/save-publicareareport.html index 0df1a86..c6b3410 100644 --- a/src/main/resources/static/route/publicareareport/save-publicareareport.html +++ b/src/main/resources/static/route/publicareareport/save-publicareareport.html @@ -276,7 +276,7 @@ files = files.substring(1); } if(files.charAt(files.length - 1) == ',') { - files = files.substring(0, files.length - 2); + files = files.substring(0, files.length - 1); } initFileList(name, files, function(fileName) { viewerObj[fileName].update(); @@ -338,7 +338,7 @@ files = files.substring(1); } if(files.charAt(files.length - 1) == ',') { - files = files.substring(0, files.length - 2); + files = files.substring(0, files.length - 1); } initFileList(name, files, function(fileName) { viewerObj[fileName].update(); diff --git a/src/main/resources/static/route/publicareareport/update-publicareareport.html b/src/main/resources/static/route/publicareareport/update-publicareareport.html index 1f0306b..b9a427a 100644 --- a/src/main/resources/static/route/publicareareport/update-publicareareport.html +++ b/src/main/resources/static/route/publicareareport/update-publicareareport.html @@ -278,7 +278,7 @@ files = files.substring(1); } if(files.charAt(files.length - 1) == ',') { - files = files.substring(0, files.length - 2); + files = files.substring(0, files.length - 1); } initFileList(name, files, function(fileName) { viewerObj[fileName].update(); @@ -340,7 +340,7 @@ files = files.substring(1); } if(files.charAt(files.length - 1) == ',') { - files = files.substring(0, files.length - 2); + files = files.substring(0, files.length - 1); } initFileList(name, files, function(fileName) { viewerObj[fileName].update();