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 9a3233f..6365f43 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 @@ -290,7 +290,7 @@ list: $P.detailControl.dataset , prefix: "${infoPrefix}DetailPaging--${pageName}" , start: obj.${infoPrefix}Start - , totalSize: $P.control.dataset.length + , totalSize: $P.detailControl.dataset.length , fetchSize: obj.${infoPrefix}Fetch , func: "pageObject['${pageName}'].detailControl.load({index})" }); @@ -331,12 +331,12 @@ let initScroll = ($P.control.query.pageNum < 2) && ($P.control.untilPageNum == 0); $("#tbody--${pageName}").html(trs.join()); -/* + if ($P.control.untilPageNum != 0) { $P.control.query.fetchSize = $P.control.defaultFetchSize; $P.control.query.pageNum = $P.control.untilPageNum; $P.control.untilPageNum = 0; - }*/ + } }