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); //更新信息查看区浏览权限