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
ef49eeaf
Commit
ef49eeaf
authored
Oct 30, 2020
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fixed issue with absence name not available
parent
6d131896
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
GanttBarPanel.adp
www/view/GanttBarPanel.adp
+1
-4
No files found.
www/view/GanttBarPanel.adp
View file @
ef49eeaf
...
...
@@ -463,7 +463,7 @@ Ext.define('GanttEditor.view.GanttBarPanel', {
absenceAssignmentStore.each(function(absence) {
var userId = parseInt(absence.get('user_id'));
var objectId = parseInt(absence.get('object_id'));
var objectName =
parseInt(absence.get('name')
);
var objectName =
absence.get('name'
);
var startDate = absence.get('start_date').substring(0,10);
var endDate = absence.get('end_date').substring(0,10);
var startX = me.date2x(new Date(startDate)); if (!startX) return;
...
...
@@ -784,12 +784,9 @@ Ext.define('GanttEditor.view.GanttBarPanel', {
var assigneeHash = me.overassignmentHash[assigneeId];
if (!assigneeHash) return;
for (var object_id in assigneeHash) {
var objectId = parseInt(object_id);
if (objectId == id) continue; // Don't show overallocation with the task itself :-)
var absenceHash = assigneeHash[objectId];
var startX = absenceHash.startX;
var endX = absenceHash.endX;
...
...
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