diff options
author | Georg Ehrke <georg.stefan.germany@googlemail.com> | 2011-08-20 16:52:03 +0200 |
---|---|---|
committer | Georg Ehrke <georg.stefan.germany@googlemail.com> | 2011-08-20 16:52:03 +0200 |
commit | 3cb07254e518679028d7f7ce1f07fdbed808106a (patch) | |
tree | dcd5eb2310a746e35f69d6d41ec35d23064e22da /apps/calendar/templates/part.newevent.php | |
parent | fc4d31547b966e1da5950feadd72502f95c3cc7a (diff) | |
download | nextcloud-server-3cb07254e518679028d7f7ce1f07fdbed808106a.tar.gz nextcloud-server-3cb07254e518679028d7f7ce1f07fdbed808106a.zip |
allday bug fixed
Diffstat (limited to 'apps/calendar/templates/part.newevent.php')
-rw-r--r-- | apps/calendar/templates/part.newevent.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/templates/part.newevent.php b/apps/calendar/templates/part.newevent.php index 3f8e8ff653e..d1fb6244238 100644 --- a/apps/calendar/templates/part.newevent.php +++ b/apps/calendar/templates/part.newevent.php @@ -54,7 +54,7 @@ <td width="75px"></td> <td> <input onclick="lock_time();" type="checkbox"<?php if($allday == true){echo "checked=\"checked\"";} ?> id="newcalendar_allday_checkbox"> - <?php if($allday == true){echo "<script type=\"text/javascript\">lock_time();</script>";}?> + <?php if($allday == true){echo "<script type=\"text/javascript\">document.getElementById(\"fromtime\").disabled = true;document.getElementById(\"totime\").disabled = true;document.getElementById(\"fromtime\").style.color = \"#A9A9A9\";document.getElementById(\"totime\").style.color = \"#A9A9A9\";</script>";}?> <label for="newcalendar_allday_checkbox"><?php echo $l -> t("All Day Event");?></label></td> </tr> <tr> |