Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-gantt-editor
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-gantt-editor
Commits
ce3854c8
Commit
ce3854c8
authored
Aug 18, 2015
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Gantt Editor:
Fixed issue creating tasks
parent
38f87058
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
78 additions
and
109 deletions
+78
-109
gantt-editor.adp
lib/gantt-editor.adp
+78
-105
GanttTreePanelController.js
www/controller/GanttTreePanelController.js
+0
-4
No files found.
lib/gantt-editor.adp
View file @
ce3854c8
This diff is collapsed.
Click to expand it.
www/controller/GanttTreePanelController.js
View file @
ce3854c8
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment