From 868b11037856854747981b705f92146f3a9e986e Mon Sep 17 00:00:00 2001 From: lch Date: Fri, 11 Jun 2021 01:45:34 +0000 Subject: [PATCH] =?UTF-8?q?=EC=97=90=EB=9F=AC=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 | 4 ++-- FO/Views/CDMS/Contents2.cshtml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/FO/Views/CDMS/Contents.cshtml b/FO/Views/CDMS/Contents.cshtml index b05937d..8ed0f10 100644 --- a/FO/Views/CDMS/Contents.cshtml +++ b/FO/Views/CDMS/Contents.cshtml @@ -122,7 +122,7 @@ } } function closestudy() { - if (!_passunload && _istaste != 1 && !_islogout) { + if (!_passunload && @Model.istaste != 1 && !_islogout) { golog(false, true, false, false); _passunload = true; } @@ -387,7 +387,7 @@ _psecond = getint($("#video1")[0].currentTime); } } catch (e) { } - capp("/focommon/studylog", { logno: _logno, lectno: @Model.lip.lectno, cmino: @Model.lip.cmino, cpno: _cpno, studysec: _sec, ispc: ismobile() ? 0 : 1, nextcpno: ispaging ? _nextcpno : 0, getiframe: @(Model.CMInning.ismenu == 1 && Model.CMInning.ctype == 2 ? 1 : 0), issample: @Model.istaste, psec: _psecond }, "cbstudylog" + (ispaging ? "page" : "") + (isunload ? "unload" : "") + (isinning ? "inning" : ""), null, null, true, null, true, async)); + capp("/focommon/studylog", { logno: _logno, lectno: @Model.lip.lectno, cmino: @Model.lip.cmino, cpno: _cpno, studysec: _sec, ispc: ismobile() ? 0 : 1, nextcpno: ispaging ? _nextcpno : 0, getiframe: @(Model.CMInning.ismenu == 1 && Model.CMInning.ctype == 2 ? 1 : 0), issample: @Model.istaste, psec: _psecond }, "cbstudylog" + (ispaging ? "page" : "") + (isunload ? "unload" : "") + (isinning ? "inning" : ""), null, null, true, null, true, async); } else if (_mtime > 0 && !_okmid && _tsec >= _mtime && _mtimesec < 1) { //clearInterval(_timerlog); _mtimesec = 1; diff --git a/FO/Views/CDMS/Contents2.cshtml b/FO/Views/CDMS/Contents2.cshtml index 65b7f73..fa2b2a0 100644 --- a/FO/Views/CDMS/Contents2.cshtml +++ b/FO/Views/CDMS/Contents2.cshtml @@ -131,12 +131,12 @@ } } function closestudy() { - if (!_passunload && _istaste != 1 && !_islogout) { + if (!_passunload && @Model.istaste != 1 && !_islogout) { golog(false, true); _passunload = true; } self.close(); - } + } $(window).load(function () { if (@Model.status == 0) { _passunload = true;