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
6d5821a3
Commit
6d5821a3
authored
Aug 24, 2021
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fixed baselines
parent
cf993b09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
gantt-editor.adp
lib/gantt-editor.adp
+8
-5
No files found.
lib/gantt-editor.adp
View file @
6d5821a3
...
...
@@ -124,7 +124,7 @@ function launchGanttEditor(debug){
});
/* ***********************************************************************
* Config Menu
!!!
* Config Menu
*********************************************************************** */
var baselineComboBox = null;
...
...
@@ -148,11 +148,14 @@ function launchGanttEditor(debug){
var baselineModel = baselineComboBox.findRecord('baseline_id', baselineId);
if (baselineModel) {
baselineComboBox.setValue(baselineModel.get('baseline_name'));
}
}
baselineComboBox.on('change', function(combo, value) {
var records = baselineComboBox.findRecord('baseline_name', value);
var records = baselineComboBox.findRecord('baseline_name', value);
if (!records) return;
var record = records[0];
var record = records;
if (records['$className'] != 'PO.model.project.Baseline') {
var record = records[0];
}
if (!record) return;
var id = record.get('id');
senchaPreferenceStore.setPreference(baselineComboBox.key, id);
...
...
@@ -235,7 +238,7 @@ function launchGanttEditor(debug){
{ icon: gifPath+'zoom_in.png', tooltip: 'Zoom in time axis', id: 'buttonZoomInGantt'},
{ icon: gifPath+'zoom.png', tooltip: 'Center', id: 'buttonZoomCenterGantt'},
{ icon: gifPath+'zoom_out.png', tooltip: 'Zoom out of time axis', id: 'buttonZoomOutGantt'},
{ icon: gifPath+'resultset_next.png', tooltip: 'Zoom in time axis', id: 'buttonZoomRightGantt'},
{ icon: gifPath+'resultset_next.png', tooltip: 'Zoom in time axis', id: 'buttonZoomRightGantt'},
'->',
{ text: 'Configuration', icon: gifPath+'wrench.png', menu: configMenuGanttEditor},
{ text: 'Help', icon: gifPath+'help.png', menu: helpMenu}
...
...
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