From 7ce6cf2df7bef553e90baf1c631c8d495974ce6e Mon Sep 17 00:00:00 2001 From: luosongbai <15272473386@163.com> Date: Fri, 11 Dec 2020 14:56:52 +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 | 48 +++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 41 insertions(+), 7 deletions(-) diff --git a/pmcalendar.php b/pmcalendar.php index e781c4e..ff96c7b 100644 --- a/pmcalendar.php +++ b/pmcalendar.php @@ -308,10 +308,11 @@ if ($act == 'newevent') {
-
- 编辑游戏 +
展开
+
+ 编辑游戏 " != "1" && "" != "1" && "" != "1" && "" != "1" && "" != "1" && "" != "1" && "" != "1" && "" != "1")return @@ -1685,6 +1714,9 @@ if ($act == 'newevent') { }else { $("#cptext").css('height','111px'); } + }else { + document.getElementById("cptext").innerHTML = ''; + document.getElementById("cptime").innerHTML = ''; } if (res.yunying_remark != "" && res.yunying_remark != null) { var yunying_remark = JSON.parse(res.yunying_remark); @@ -1695,6 +1727,9 @@ if ($act == 'newevent') { }else { $("#yytext").css('height','111px'); } + }else { + document.getElementById("yytext").innerHTML = ''; + document.getElementById("yytime").innerHTML = ''; } if (res.yanfa_remark != "" && res.yanfa_remark != null) { var yanfa_remark = JSON.parse(res.yanfa_remark); @@ -1705,6 +1740,9 @@ if ($act == 'newevent') { }else { $("#yftext").css('height','111px'); } + }else { + document.getElementById("yftext").innerHTML = ''; + document.getElementById("yftime").innerHTML = ''; } // if(res.fujian != null){ @@ -1766,10 +1804,6 @@ if ($act == 'newevent') { i = 0; starts=''; - $('#yytext').val(''); - $('#cptext').val(''); - $('#yftext').val(''); - $('#yytext').attr('disabled', true) $('#cptext').attr('disabled', true) $('#yftext').attr('disabled', true)