Commit ce3854c8 authored by Frank Bergmann's avatar Frank Bergmann

- Gantt Editor:

  Fixed issue creating tasks
parent 38f87058
This diff is collapsed.
......@@ -158,14 +158,10 @@ Ext.define('GanttEditor.controller.GanttTreePanelController', {
// Create a model instance and decorate with NodeInterface
var r = Ext.create('PO.model.timesheet.TimesheetTask', {
project_name: "New Task",
project_nr: "task_0018",
parent_id: lastSelected.get('parent_id'),
company_id: lastSelected.get('company_id'),
start_date: new Date().toISOString().substring(0,10),
end_date: new Date().toISOString().substring(0,10),
percent_completed: '0',
project_status_id: '76',
project_type_id: '100',
assignees: []
});
var rNode = root.createNode(r);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment