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
04c3d18a
Commit
04c3d18a
authored
Sep 03, 2020
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Skipping models with invalid start- or end-date
parent
5e6b751d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
GanttZoomController.js
www/controller/GanttZoomController.js
+2
-2
No files found.
www/controller/GanttZoomController.js
View file @
04c3d18a
...
...
@@ -120,8 +120,8 @@ Ext.define('GanttEditor.controller.GanttZoomController', {
var
rootNode
=
ganttBarPanel
.
objectStore
.
getRootNode
();
rootNode
.
cascadeBy
(
function
(
model
)
{
var
start_date
=
model
.
get
(
'start_date'
);
var
end_date
=
model
.
get
(
'end_date'
);
var
start_date
=
model
.
get
(
'start_date'
);
if
(
!
start_date
)
return
;
var
end_date
=
model
.
get
(
'end_date'
);
if
(
!
end_date
)
return
;
var
startTime
=
PO
.
Utilities
.
pgToDate
(
start_date
).
getTime
();
var
endTime
=
PO
.
Utilities
.
pgToDate
(
end_date
).
getTime
();
if
(
startTime
<
reportStartTime
)
reportStartTime
=
startTime
;
...
...
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