From 5ac10a9c0eecfa6fe49c314954c506972f275e24 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Sun, 13 May 2012 12:28:28 +0200 Subject: [PATCH] hide share tab for new events, because you can't share an event that haven't got an id yet --- apps/calendar/templates/part.eventform.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/calendar/templates/part.eventform.php b/apps/calendar/templates/part.eventform.php index b3bbf7a375..2d86ce4d31 100755 --- a/apps/calendar/templates/part.eventform.php +++ b/apps/calendar/templates/part.eventform.php @@ -9,7 +9,7 @@ echo 'Calendar.UI.Share.idtype = "event";' . "\n" . 'Calendar.UI.Share.currentid
  • t('Repeating'); ?>
  • - +
  • t('Share'); ?>
  • @@ -246,6 +246,6 @@ echo 'Calendar.UI.Share.idtype = "event";' . "\n" . 'Calendar.UI.Share.currentid
    //Attendees
    -->
    - inc('share.dropdown'); ?> + inc('share.dropdown'); } ?>