diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01010-main.jsp index 0ab4f075..c7b4ea37 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn01010-main.jsp @@ -229,7 +229,7 @@ $(document).ready(function(){ $P.renderLayoutList = (total, listLength, trs) => { - var noMore = (total == listLength); + let noMore = (listLength >= total); var initScroll = ($P.layoutControl.query.pageNum < 2) && ($P.layoutControl.untilPageNum == 0); $("#table-responsive--${pageName}")[0].changeContent(trs, initScroll, noMore); diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp index 7f06e2d8..f9294c8b 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn02010-main.jsp @@ -786,7 +786,7 @@ $(document).ready(function(){ switch (renderDataType) { case "photoInspection": - var noMore = (total == listLength); + let noMore = (listLength >= total); var initScroll = ($P.photoInspectionControl.query.pageNum < 2) && ($P.photoInspectionControl.untilPageNum == 0); $("#photoInspection-responsive--${pageName}")[0].changeContent(trs, initScroll, noMore); @@ -794,7 +794,7 @@ $(document).ready(function(){ break; case "sameVehicleInspectionMain": - var noMore = (total == listLength); + let noMore = (listLength >= total); var initScroll = ($P.sameVehicleMainControl.query.pageNum < 2) && ($P.sameVehicleMainControl.untilPageNum == 0); $("#sameVehicleInspectionMain-responsive--${pageName}")[0].changeContent(trs, initScroll, noMore); diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03010-main.jsp index b7d885f4..c563f1e9 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn03010-main.jsp @@ -280,7 +280,7 @@ $(document).ready(function(){ $P.renderCrdnList = (total, listLength, trs) => { - var noMore = (total == listLength); + let noMore = (listLength >= total); var initScroll = ($P.crdnControl.query.pageNum < 2) && ($P.crdnControl.untilPageNum == 0); $("#table-responsive--${pageName}")[0].changeContent(trs, initScroll, noMore); diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05010-main.jsp index f4b5061d..10778c4d 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn05010-main.jsp @@ -225,7 +225,7 @@ $(document).ready(function(){ $P.renderCrdnList = (total, listLength, trs) => { - var noMore = (total == listLength); + let noMore = (listLength >= total); var initScroll = ($P.crdnControl.query.pageNum < 2) && ($P.crdnControl.untilPageNum == 0); $("#table-responsive--${pageName}")[0].changeContent(trs, initScroll, noMore); diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp index 5d22ffb5..1fe58423 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn06010-main.jsp @@ -464,7 +464,7 @@ $(document).ready(function(){ $P.renderCrdnList = (total, listLength, trs) => { - var noMore = (total == listLength); + let noMore = (listLength >= total); var initScroll = ($P.crdnControl.query.pageNum < 2) && ($P.crdnControl.untilPageNum == 0); $("#table-responsive--${pageName}")[0].changeContent(trs, initScroll, noMore); diff --git a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn08010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn08010-main.jsp index ee7b9916..63ee94b5 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn08010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/crdn/crdn08010-main.jsp @@ -257,7 +257,7 @@ $(document).ready(function(){ $P.renderExmptnVhclList = (total, listLength, trs) => { - var noMore = (total == listLength); + let noMore = (listLength >= total); var initScroll = ($P.exmptnVhclControl.query.pageNum < 2) && ($P.exmptnVhclControl.untilPageNum == 0); $("#table-responsive--${pageName}")[0].changeContent(trs, initScroll, noMore); diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01010-main.jsp index 9a2578c4..1c7879d2 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc01010-main.jsp @@ -425,7 +425,7 @@ $(document).ready(function(){ $P.renderCrdnList = (total, listLength, trs) => { - var noMore = (total == listLength); + let noMore = (listLength >= total); var initScroll = ($P.crdnControl.query.pageNum < 2) && ($P.crdnControl.untilPageNum == 0); $("#table-responsive--${pageName}")[0].changeContent(trs, initScroll, noMore); diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02010-main.jsp index ab527313..d2500071 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc02010-main.jsp @@ -389,7 +389,7 @@ $(document).ready(function(){ $P.renderCrdnList = (total, listLength, trs) => { - var noMore = (total == listLength); + let noMore = (listLength >= total); var initScroll = ($P.crdnControl.query.pageNum < 2) && ($P.crdnControl.untilPageNum == 0); $("#table-responsive--${pageName}")[0].changeContent(trs, initScroll, noMore); diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc03010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc03010-main.jsp index 7422016a..d6d189b6 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc03010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc03010-main.jsp @@ -393,7 +393,7 @@ $(document).ready(function(){ $P.renderCrdnList = (total, listLength, trs) => { - var noMore = (total == listLength); + let noMore = (listLength >= total); var initScroll = ($P.crdnControl.query.pageNum < 2) && ($P.crdnControl.untilPageNum == 0); $("#table-responsive--${pageName}")[0].changeContent(trs, initScroll, noMore); diff --git a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc04010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc04010-main.jsp index 4be1be92..d843182b 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc04010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/cvlc/cvlc04010-main.jsp @@ -304,7 +304,7 @@ $(document).ready(function(){ $P.renderDmndList = (total, listLength, trs) => { - var noMore = (total == listLength); + let noMore = (listLength >= total); var initScroll = ($P.dmndControl.query.pageNum < 2) && ($P.dmndControl.untilPageNum == 0); $("#table-responsive--${pageName}")[0].changeContent(trs, initScroll, noMore); diff --git a/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt01010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt01010-main.jsp index ab0bfb8e..37d1c6ef 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt01010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/mngt/mngt01010-main.jsp @@ -217,7 +217,7 @@ $(document).ready(function(){ $P.renderNtcList = (total, listLength, trs) => { - var noMore = (total == listLength); + let noMore = (listLength >= total); var initScroll = ($P.ntcControl.query.pageNum < 2) && ($P.ntcControl.untilPageNum == 0); $("#table-responsive--${pageName}")[0].changeContent(trs, initScroll, noMore); diff --git a/src/main/webapp/WEB-INF/jsp/fims/ogdp/ogdp02010-main.jsp b/src/main/webapp/WEB-INF/jsp/fims/ogdp/ogdp02010-main.jsp index 2bacd852..cd7aee2b 100644 --- a/src/main/webapp/WEB-INF/jsp/fims/ogdp/ogdp02010-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/fims/ogdp/ogdp02010-main.jsp @@ -248,7 +248,7 @@ $(document).ready(function(){ $P.renderDeptList = (total, listLength, trs) => { - var noMore = (total == listLength); + let noMore = (listLength >= total); var initScroll = ($P.deptControl.query.pageNum < 2) && ($P.deptControl.untilPageNum == 0); $("#table-responsive--${pageName}")[0].changeContent(trs, initScroll, noMore);