에러 수정
This commit is contained in:
parent
3b83ffd094
commit
868b110378
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue