에러 수정

This commit is contained in:
lch 2021-06-11 01:45:34 +00:00
parent 3b83ffd094
commit 868b110378
2 changed files with 4 additions and 4 deletions

View File

@ -122,7 +122,7 @@
} }
} }
function closestudy() { function closestudy() {
if (!_passunload && _istaste != 1 && !_islogout) { if (!_passunload && @Model.istaste != 1 && !_islogout) {
golog(false, true, false, false); golog(false, true, false, false);
_passunload = true; _passunload = true;
} }
@ -387,7 +387,7 @@
_psecond = getint($("#video1")[0].currentTime); _psecond = getint($("#video1")[0].currentTime);
} }
} catch (e) { } } 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) { } else if (_mtime > 0 && !_okmid && _tsec >= _mtime && _mtimesec < 1) {
//clearInterval(_timerlog); //clearInterval(_timerlog);
_mtimesec = 1; _mtimesec = 1;

View File

@ -131,12 +131,12 @@
} }
} }
function closestudy() { function closestudy() {
if (!_passunload && _istaste != 1 && !_islogout) { if (!_passunload && @Model.istaste != 1 && !_islogout) {
golog(false, true); golog(false, true);
_passunload = true; _passunload = true;
} }
self.close(); self.close();
} }
$(window).load(function () { $(window).load(function () {
if (@Model.status == 0) { if (@Model.status == 0) {
_passunload = true; _passunload = true;