From 91016e37d45a6ea05b0e9e3578dd8b0943798630 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Tue, 17 Jan 2012 15:38:32 +0100 Subject: [PATCH] fix ocbug 34 --- apps/calendar/js/calendar.js | 1 + apps/calendar/templates/calendar.php | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/calendar/js/calendar.js b/apps/calendar/js/calendar.js index 33a78b3e322..c5eaeac3cd4 100644 --- a/apps/calendar/js/calendar.js +++ b/apps/calendar/js/calendar.js @@ -429,6 +429,7 @@ Calendar={ $(button).closest('tr').prev().html(data.page).show().next().remove(); $('#calendar_holder').fullCalendar('removeEventSource', data.eventSource.url); $('#calendar_holder').fullCalendar('addEventSource', data.eventSource); + $('#choosecalendar_dialog > table').append('' + newcalendar + ''); } }, 'json'); }, diff --git a/apps/calendar/templates/calendar.php b/apps/calendar/templates/calendar.php index b50b2c9b46b..feafd17635b 100755 --- a/apps/calendar/templates/calendar.php +++ b/apps/calendar/templates/calendar.php @@ -8,6 +8,7 @@ var agendatime = '{ - }'; var defaulttime = ''; var allDayText = 't('All day')) ?>'; + var newcalendar = 't('New Calendar')) ?>'; var missing_field = 't('Missing fields')) ?>'; var missing_field_title = 't('Title')) ?>'; var missing_field_calendar = 't('Calendar')) ?>'; -- 2.39.5