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
896e195b
Commit
896e195b
authored
Aug 05, 2020
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Removed ugly warning message with undefined task dependency time format
that appeared after creating a new dependency
parent
467eac62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
GanttDependencyPropertyPanel.js
www/view/GanttDependencyPropertyPanel.js
+2
-0
No files found.
www/view/GanttDependencyPropertyPanel.js
View file @
896e195b
...
...
@@ -172,6 +172,7 @@ Ext.define('GanttEditor.view.GanttDependencyPropertyPanel', {
dependencyFormatFactor
:
function
(
format_id
)
{
var
format_factor
=
1.0
;
if
(
!
format_id
)
format_id
=
0
;
// Format the "diff" according to the most frequent formats
// LagFormat can be: 3=m, 4=em, 5=h, 6=eh, 7=d, 8=ed, 9=w, 10=ew,
...
...
@@ -202,6 +203,7 @@ Ext.define('GanttEditor.view.GanttDependencyPropertyPanel', {
case
9844
:
format_factor
=
1.0
;
break
;
// e%=
case
9851
:
format_factor
=
1.0
;
break
;
// e%=
case
9852
:
format_factor
=
1.0
;
break
;
// e%=
case
0
:
break
;
// handles undefined case
default
:
alert
(
'GanttDependencyPropertyPanel.setValue: Found invalid diff_format_id='
+
format_id
);
}
...
...
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