From 1f0d486f3072e88a8072f28d7c771baf8a8082be Mon Sep 17 00:00:00 2001 From: ts_lvzimo Date: Fri, 4 Dec 2020 14:46:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pmcalendar.php | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/pmcalendar.php b/pmcalendar.php index 745de70..33b57c5 100644 --- a/pmcalendar.php +++ b/pmcalendar.php @@ -1013,22 +1013,21 @@ if ($act == 'newevent') { } ; - if ("" == "1") { - if (i == 0) { - $('#cptext').attr('disabled', false) - $('#yytext').attr('disabled', false) - $('#yftext').attr('disabled', false) - $(".upfujian").show(); - i = 1; - } else { - $('#cptext').attr('disabled', true) - $('#yytext').attr('disabled', true) - $('#yftext').attr('disabled', true) - $(".upfujian").hide(); - i = 0; - } - } - ; + // if ("" == "1") { + // if (i == 0) { + // $('#cptext').attr('disabled', false) + // $('#yytext').attr('disabled', false) + // $('#yftext').attr('disabled', false) + // $(".upfujian").show(); + // i = 1; + // } else { + // $('#cptext').attr('disabled', true) + // $('#yytext').attr('disabled', true) + // $('#yftext').attr('disabled', true) + // $(".upfujian").hide(); + // i = 0; + // } + // }; // $canEdit = in_array($user['name'], $ROLES); // $isgxvrole = in_array($user['name'], $GXVROLES); //更新信息查看区浏览权限