allday bug fixed

This commit is contained in:
Georg Ehrke 2011-08-20 16:52:03 +02:00
parent fc4d31547b
commit 3cb07254e5
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
can't load new event form on allday event, when this is the first new event dialog on this site - will be fixed in next version - js/php fail
There are actually no known bugs

View File

@ -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>