From 4f6c09956424060f26866a665620ee73fc5f87a2 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Thu, 12 Nov 2015 16:04:31 -0500 Subject: [PATCH] (js) Fix creation of a task --- UI/WebServerResources/js/Scheduler/CalendarListController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/WebServerResources/js/Scheduler/CalendarListController.js b/UI/WebServerResources/js/Scheduler/CalendarListController.js index 16d0d6f22..bc053e494 100644 --- a/UI/WebServerResources/js/Scheduler/CalendarListController.js +++ b/UI/WebServerResources/js/Scheduler/CalendarListController.js @@ -123,9 +123,9 @@ } else { // TODO respect SOGoDefaultCalendar - component = new Component({ pid: 'personal', type: type }); if (vm.componentType == 'tasks') type = 'task'; + component = new Component({ pid: 'personal', type: type }); } // UI/Templates/SchedulerUI/UIxAppointmentEditorTemplate.wox or