diff --git a/FO/Views/CDMS/Contents.cshtml b/FO/Views/CDMS/Contents.cshtml
index b1a6b4c..ba78ca2 100644
--- a/FO/Views/CDMS/Contents.cshtml
+++ b/FO/Views/CDMS/Contents.cshtml
@@ -354,17 +354,21 @@
}
function golog(ispaging, isunload, isinning) {
var checklectdate = -1;
- $.ajax({
- type: "post",
- url: "/focommon/checklectdate",
- async: false,
- data: { lectno: @Model.lip.lectno},
- success: function (res) {
- checklectdate = res.result;
- }, error: function (e) {
- alert("error");
+ if (@Model.istaste == 1) {
+ checklectdate = 1;
+ } else {
+ $.ajax({
+ type: "post",
+ url: "/focommon/checklectdate",
+ async: false,
+ data: { lectno: @Model.lip.lectno},
+ success: function (res) {
+ checklectdate = res.result;
+ }, error: function (e) {
+ alert("error");
}
- });
+ });
+ }
ispaging = ispaging || false;
isunload = isunload || false;
@@ -470,13 +474,13 @@
_cpno = _nextcpno;
_logno = getint(capResult.obj);
_pseq = _nextpseq;
- if ('@(Model.CMInning.ismenu)' == '1') {
+ //if ('@(Model.CMInning.ismenu)' == '1') {
if (_ctype == 0 || _ctype == 1 || _ctype == 3) {
srcchange();
} else {
$("#html1").html(capResult.msg);
}
- }
+ //}
//_timerlog = setInterval(golog, 1000);
$("#cplist li a").removeClass("current");
$("#cplist li").eq(_pseq-1).find("a").addClass("current");
@@ -484,13 +488,13 @@
_loging = false;
_cpno = _nextcpno;
_pseq = _nextpseq;
- if ('@(Model.CMInning.ismenu)' == '1') {
+ //if ('@(Model.CMInning.ismenu)' == '1') {
if (_ctype == 0 || _ctype == 1 || _ctype == 3) {
srcchange();
} else {
$("#html1").html(capResult.msg);
}
- }
+ //}
$("#cplist li a").removeClass("current");
$("#cplist li").eq(_pseq-1).find("a").addClass("current");
} else {