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
574a2fd3
Commit
574a2fd3
authored
Jun 15, 2016
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- moved nodesInTree in the shared class
parent
78320ef2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
GanttBarPanel.js
www/view/GanttBarPanel.js
+0
-16
No files found.
www/view/GanttBarPanel.js
View file @
574a2fd3
...
...
@@ -333,22 +333,6 @@ Ext.define('GanttEditor.view.GanttBarPanel', {
if
(
me
.
debug
)
console
.
log
(
'GanttEditor.view.GanttBarPanel.onCreateDependency: Finished'
);
},
nodesInTree
:
function
(
node
)
{
var
me
=
this
;
var
count
=
1
;
// if (me.debug) console.log('PO.view.gantt.GanttBarPanel.nodesInTree: Starting');
if
(
node
.
isExpanded
()
||
node
.
isRoot
())
{
var
children
=
node
.
childNodes
;
children
.
forEach
(
function
(
child
)
{
count
=
count
+
me
.
nodesInTree
(
child
);
});
}
// if (me.debug) console.log('PO.view.gantt.GanttBarPanel.nodesInTree: Finished');
return
count
;
},
/**
* Draw all Gantt bars
*/
...
...
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