diff options
Diffstat (limited to 'apps/calendar/templates/part.choosecalendar.php')
-rw-r--r-- | apps/calendar/templates/part.choosecalendar.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/calendar/templates/part.choosecalendar.php b/apps/calendar/templates/part.choosecalendar.php index 500e0a4ca21..82bd1ff5ab3 100644 --- a/apps/calendar/templates/part.choosecalendar.php +++ b/apps/calendar/templates/part.choosecalendar.php @@ -17,7 +17,7 @@ for($i = 0; $i < count($option_calendars); $i++){ </tr> <tr> <td colspan="4"> - <input style="display:none;width: 90%;margin: 0 auto;" type="text" id="caldav_url" onmouseover="document.getElementById('caldav_url').select();" title="<?php echo $l->t("CalDav Link"); ?>"> + <p style="margin: 0 auto;width: 90%;"><input style="display:none;width: 90%;float: left;" type="text" id="caldav_url" onmouseover="document.getElementById('caldav_url').select();" title="<?php echo $l->t("CalDav Link"); ?>"><img id="caldav_url_close" style="height: 20px;vertical-align: middle;display: none;" src="../../core/img/actions/delete.svg" alt="close" onclick="document.getElementById('caldav_url').style.display = 'none';document.getElementById('caldav_url_close').style.display = 'none';"/></p> </td> </tr> </table> @@ -37,5 +37,6 @@ for($i = 0; $i < count($option_calendars); $i++){ function showcaldavurl(username, calname){ document.getElementById("caldav_url").value = totalurl + "/" + username + "/" + calname; document.getElementById("caldav_url").style.display = "block"; + document.getElementById("caldav_url_close").style.display = "block"; } </script> |