(js) Fix creation of a task

pull/101/head^2
Francis Lachapelle 2015-11-12 16:04:31 -05:00
parent d081f3c6eb
commit 4f6c099564
1 changed files with 1 additions and 1 deletions

View File

@ -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