From 30a6a24534630f50d99faf570c024bcab9282ea0 Mon Sep 17 00:00:00 2001 From: jity7777 Date: Thu, 16 Mar 2023 06:10:38 +0000 Subject: [PATCH] =?UTF-8?q?<=EC=98=A4=EB=A5=98=EC=88=98=EC=A0=95>=201.=20P?= =?UTF-8?q?MS=20NO=20:=207550=202.=20(=EC=A3=BC=EC=9A=94)=EC=9E=91?= =?UTF-8?q?=EC=97=85=EB=82=B4=EC=9A=A9=20(1)=20D:/Project/NEW=5FLMS/2020LM?= =?UTF-8?q?SYNICTE/FO/Views/CDMS/Contents.cshtml=20=20-=20=EC=88=98?= =?UTF-8?q?=EA=B0=95=EA=B8=B0=EB=A1=9D=20=EB=A1=9C=EA=B7=B8=20=ED=9A=9F?= =?UTF-8?q?=EC=88=98=20=EC=B9=B4=EC=9A=B4=ED=8A=B8=205=ED=9A=8C=20?= =?UTF-8?q?=EC=B2=B4=ED=81=AC=EB=A1=9C=EC=A7=81=20=EC=B6=94=EA=B0=80=202?= =?UTF-8?q?=EC=B0=A8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FO/Views/CDMS/Contents.cshtml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/FO/Views/CDMS/Contents.cshtml b/FO/Views/CDMS/Contents.cshtml index a3fdb76..539e7c7 100644 --- a/FO/Views/CDMS/Contents.cshtml +++ b/FO/Views/CDMS/Contents.cshtml @@ -463,6 +463,7 @@ //}, 5000); } } + function cbstudylogpage() { if (capResult.code == 1000) { console.log('logok: sec(' + _sec + '), logno(' + capResult.obj + ')'); @@ -493,13 +494,23 @@ } //} $("#cplist li a").removeClass("current"); - $("#cplist li").eq(_pseq-1).find("a").addClass("current"); + $("#cplist li").eq(_pseq - 1).find("a").addClass("current"); + loginErrCnt = 0; } else { - msg("다른 단말기에서 로그인되었습니다. 학습을 종료합니다."); + loginErrCnt += 1 + if (loginErrCnt > 5) { + _islogout = true; + _passunload = true; + //msg("학습로그가 정상 기록이 되지 않았습니다..", null, null, null, "self.close()"); + self.close() // 영남측에서 강종으로 요청함 + } + /* + //msg("다른 단말기에서 로그인되었습니다. 학습을 종료합니다."); setTimeout(function () { _passunload = true; self.close(); }, 5000); + */ } }