diff --git a/FO/Views/My/LectureOn.cshtml b/FO/Views/My/LectureOn.cshtml
index b0b3c7c..f062d93 100644
--- a/FO/Views/My/LectureOn.cshtml
+++ b/FO/Views/My/LectureOn.cshtml
@@ -83,7 +83,7 @@
+
@@ -194,9 +194,11 @@
ulScd.empty();
//var seq = 0;
let displayCnt = 0;
- let noDisPlay = true;
+ let noDisPlay = true;
+ let datachk = false;
$.each(capResult.obj, function (i, d) {
+ datachk = false;
let comment = d.comment == null ? "" : "
(" + d.comment + ")"
var li = $("
");
@@ -209,7 +211,7 @@
}
if (cshape == 2 && d.studyplace != null && !onceCheck) {
- li.append("
");
+ li.append("
");
onceCheck = true;
}
@@ -235,18 +237,20 @@
++displayCnt;
if (d.quota != 0) {
if (d.remainPeople <= 0) {
-
+ datachk = true;
pData.html("
");
}
else {
if (d.isselected == 1) {
//spanApplyClass.text("수강신청");
//aApplyClass.append(spanApplyClass);
+ datachk = true;
pData.html("
" + strStudyPlacename + " [접수중] " + radioEduDay + " checked> " + d.scdInfoSummary + " (" + d.remainPeople + "명 남음)" + comment +"");
}
else {
//spanApplyClass.text("수강신청");
//aApplyClass.append(spanApplyClass);
+ datachk = true;
pData.html("
" + strStudyPlacename + " [접수중] " + radioEduDay + "'> " + d.scdInfoSummary + " (" + d.remainPeople + "명 남음) " + comment +"");
//pData.append(aApplyClass);
}
@@ -254,6 +258,7 @@
}
else {
if (d.isselected == 1) {
+ datachk = true;
pData.html("
" + strStudyPlacename + " " + radioEduDay + " checked> " + d.scdInfoSummary + "" + comment +"");
}
//else {
@@ -278,8 +283,10 @@
_cmno = 0;
}
- li.append(pData);
- ulScd.append(li);
+ if (datachk || onceCheck) {
+ li.append(pData);
+ ulScd.append(li);
+ }
});
@@ -296,7 +303,7 @@
$(".mpgPopCont").css("height", "300px")
}
else {
- $(".mpgPopCont").css("height", "550px")
+ $(".mpgPopCont").css("height", "480px")
}
}