From 1f952318019baca4a8c628b2baeb23b82cc85c99 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Tue, 17 Jan 2012 19:09:11 +0100 Subject: [PATCH] use button for new calendar --- apps/calendar/js/calendar.js | 2 +- apps/calendar/templates/part.choosecalendar.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/calendar/js/calendar.js b/apps/calendar/js/calendar.js index 7b9e5cff0c0..5c0998d4ae2 100644 --- a/apps/calendar/js/calendar.js +++ b/apps/calendar/js/calendar.js @@ -435,7 +435,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 + ''); + $('#choosecalendar_dialog > table').append(''); } }, 'json'); }, diff --git a/apps/calendar/templates/part.choosecalendar.php b/apps/calendar/templates/part.choosecalendar.php index 65eb39cbfdf..86f09d62076 100644 --- a/apps/calendar/templates/part.choosecalendar.php +++ b/apps/calendar/templates/part.choosecalendar.php @@ -12,7 +12,7 @@ for($i = 0; $i < count($option_calendars); $i++){ ?> - t('New Calendar') ?> + -- 2.39.5