스크롤링 오류 방지

main
이범준 4 months ago
parent cda8050f07
commit 23d349a155

@ -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);

@ -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);

@ -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);

@ -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);

@ -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);

@ -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);

@ -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);

@ -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);

@ -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);

@ -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);

@ -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);

@ -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);

Loading…
Cancel
Save