From 68bc97bac763046cc1c93d2d88c7ce4988452bd4 Mon Sep 17 00:00:00 2001 From: leebj Date: Tue, 9 Jul 2024 11:27:07 +0900 Subject: [PATCH] =?UTF-8?q?fix=20:=20=EC=8A=A4=ED=81=AC=EB=A1=A4=EB=A7=81?= =?UTF-8?q?=20=EC=98=A4=EB=A5=98=20=EB=B0=A9=EC=A7=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/jsp/adds/nims/bssh-popup.jsp | 2 +- src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgt-info.jsp | 2 +- src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtMapping-main.jsp | 2 +- src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-main.jsp | 2 +- src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-main.jsp | 2 +- src/main/webapp/WEB-INF/jsp/adds/nims/product-popup.jsp | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/bssh-popup.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/bssh-popup.jsp index eb19821..ad6206d 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/bssh-popup.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/bssh-popup.jsp @@ -187,7 +187,7 @@ let trs = empty ? [document.getElementById("${infoPrefix}NotFound--${pageName}").content.outerHTML] : ${infoPrefix}List.inStrings(foundTr.outerHTML, replacer); - let noMore = (totalSize == ${infoPrefix}List.length); + let noMore = (${infoPrefix}List.length >= totalSize); let initScroll = ($P.control.query.pageNum < 2) && ($P.control.untilPageNum == 0); $("#tbody--${pageName}").html(trs.join()); diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgt-info.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgt-info.jsp index e3890a1..609c7be 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgt-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgt-info.jsp @@ -311,7 +311,7 @@ let trs = empty ? [document.getElementById("${infoPrefix}NotFound--${pageName}").content.outerHTML] : ${infoPrefix}List.inStrings(foundTr.outerHTML, replacer); - let noMore = (totalSize == ${infoPrefix}List.length); + let noMore = (${infoPrefix}List.length >= totalSize); let initScroll = ($P.control.query.pageNum < 2) && ($P.control.untilPageNum == 0); $("#table-responsive--${pageName}")[0].changeContent(trs.join(), initScroll, noMore); diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtMapping-main.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtMapping-main.jsp index d9a92f3..a4549c5 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtMapping-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtMapping-main.jsp @@ -421,7 +421,7 @@ let trs = empty ? [document.getElementById("${infoPrefix}NotFound--${pageName}").content.outerHTML] : ${infoPrefix}List.inStrings(foundTr.outerHTML, replacer); - let noMore = (totalSize == ${infoPrefix}List.length); + let noMore = (${infoPrefix}List.length >= totalSize); let initScroll = ($P.control.query.pageNum < 2) && ($P.control.untilPageNum == 0); $("#table-responsive--${pageName}")[0].changeContent(trs.join(), initScroll, noMore); diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-main.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-main.jsp index af7d089..f56a899 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtReceipt-main.jsp @@ -399,7 +399,7 @@ let trs = empty ? [document.getElementById("${infoPrefix}NotFound--${pageName}").content.outerHTML] : ${infoPrefix}List.inStrings(foundTr.outerHTML, replacer); - let noMore = (totalSize == ${infoPrefix}List.length); + let noMore = (${infoPrefix}List.length >= totalSize); let initScroll = ($P.control.query.pageNum < 2) && ($P.control.untilPageNum == 0); $("#table-responsive--${pageName}")[0].changeContent(trs.join(), initScroll, noMore); diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-main.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-main.jsp index 780a84c..b881728 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-main.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-main.jsp @@ -354,7 +354,7 @@ let trs = empty ? [document.getElementById("${infoPrefix}NotFound--${pageName}").content.outerHTML] : ${infoPrefix}List.inStrings(foundTr.outerHTML, replacer); - let noMore = (totalSize == ${infoPrefix}List.length); + let noMore = (${infoPrefix}List.length >= totalSize); let initScroll = ($P.control.query.pageNum < 2) && ($P.control.untilPageNum == 0); $("#table-responsive--${pageName}")[0].changeContent(trs.join(), initScroll, noMore); diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/product-popup.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/product-popup.jsp index 4ebc00e..f890bef 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/product-popup.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/product-popup.jsp @@ -321,7 +321,7 @@ let trs = empty ? [document.getElementById("${infoPrefix}NotFound--${pageName}").innerHTML] : ${infoPrefix}List.inStrings(foundTr.outerHTML, replacer); - let noMore = (totalSize == ${infoPrefix}List.length); + let noMore = (${infoPrefix}List.length >= totalSize); let initScroll = ($P.control.query.pageNum < 2) && ($P.control.untilPageNum == 0); $("#tbody--${pageName}").html(trs.join());