@sapui5/sap.gantt 1.126.0 → 1.127.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/sap/gantt/.library +1 -1
- package/src/sap/gantt/AdhocLine.js +1 -1
- package/src/sap/gantt/GanttChart.js +1 -1
- package/src/sap/gantt/GanttChartBase.js +1 -1
- package/src/sap/gantt/GanttChartContainer.js +1 -1
- package/src/sap/gantt/GanttChartWithTable.js +1 -1
- package/src/sap/gantt/axistime/AxisTimeStrategyBase.js +1 -1
- package/src/sap/gantt/axistime/FullScreenStrategy.js +1 -1
- package/src/sap/gantt/axistime/FullScreenTimeLineOptions.js +7 -1
- package/src/sap/gantt/axistime/ProportionTimeLineOptions.js +7 -1
- package/src/sap/gantt/axistime/ProportionZoomStrategy.js +1 -1
- package/src/sap/gantt/axistime/StepwiseTimeLineOptions.js +7 -1
- package/src/sap/gantt/axistime/StepwiseZoomStrategy.js +1 -1
- package/src/sap/gantt/changeHandlers/simple/AdhocLine.js +1 -1
- package/src/sap/gantt/changeHandlers/simple/DeltaLine.js +1 -1
- package/src/sap/gantt/changeHandlers/simple/GanttChartContainer.js +1 -1
- package/src/sap/gantt/changeHandlers/simple/GanttChartWithTable.js +1 -1
- package/src/sap/gantt/config/BirdEyeGroup.js +1 -1
- package/src/sap/gantt/config/ChartScheme.js +1 -1
- package/src/sap/gantt/config/ColumnAttribute.js +1 -1
- package/src/sap/gantt/config/ContainerLayout.js +1 -1
- package/src/sap/gantt/config/ExpandChart.js +1 -1
- package/src/sap/gantt/config/ExpandChartGroup.js +1 -1
- package/src/sap/gantt/config/GanttChartLayout.js +1 -1
- package/src/sap/gantt/config/Hierarchy.js +1 -1
- package/src/sap/gantt/config/HierarchyColumn.js +1 -1
- package/src/sap/gantt/config/LayoutGroup.js +1 -1
- package/src/sap/gantt/config/Locale.js +1 -1
- package/src/sap/gantt/config/Mode.js +1 -1
- package/src/sap/gantt/config/ModeGroup.js +1 -1
- package/src/sap/gantt/config/ObjectType.js +1 -1
- package/src/sap/gantt/config/SettingGroup.js +1 -1
- package/src/sap/gantt/config/SettingItem.js +1 -1
- package/src/sap/gantt/config/Shape.js +1 -1
- package/src/sap/gantt/config/TimeAxis.js +1 -1
- package/src/sap/gantt/config/TimeHorizon.js +1 -1
- package/src/sap/gantt/config/TimeZoomGroup.js +1 -1
- package/src/sap/gantt/config/ToolbarGroup.js +1 -1
- package/src/sap/gantt/config/ToolbarScheme.js +1 -1
- package/src/sap/gantt/control/Cell.js +1 -1
- package/src/sap/gantt/def/DefBase.js +1 -1
- package/src/sap/gantt/def/SvgDefs.js +1 -1
- package/src/sap/gantt/def/cal/Calendar.js +1 -1
- package/src/sap/gantt/def/cal/CalendarDefs.js +1 -1
- package/src/sap/gantt/def/cal/TimeInterval.js +1 -1
- package/src/sap/gantt/def/filter/MorphologyFilter.js +1 -1
- package/src/sap/gantt/def/gradient/LinearGradient.js +1 -1
- package/src/sap/gantt/def/gradient/RadialGradient.js +1 -1
- package/src/sap/gantt/def/gradient/Stop.js +1 -1
- package/src/sap/gantt/def/pattern/BackSlashPattern.js +1 -1
- package/src/sap/gantt/def/pattern/PatternBase.js +1 -1
- package/src/sap/gantt/def/pattern/SlashPattern.js +1 -1
- package/src/sap/gantt/drawer/AdhocLine.js +1 -1
- package/src/sap/gantt/drawer/Drawer.js +1 -1
- package/src/sap/gantt/drawer/Legend.js +6 -0
- package/src/sap/gantt/drawer/VerticalLine.js +1 -1
- package/src/sap/gantt/eventHandler/AutoScrollHandler.js +1 -1
- package/src/sap/gantt/eventHandler/BirdEyeHandler.js +7 -1
- package/src/sap/gantt/eventHandler/MouseWheelHandler.js +1 -1
- package/src/sap/gantt/eventHandler/ShapeHoverHandler.js +1 -1
- package/src/sap/gantt/eventHandler/ShapeResizeHandler.js +1 -1
- package/src/sap/gantt/eventHandler/TimePeriodZoomHandler.js +1 -1
- package/src/sap/gantt/eventHandler/TimePopoverHandler.js +1 -1
- package/src/sap/gantt/flexibility/simple/AdhocLine.flexibility.js +7 -1
- package/src/sap/gantt/flexibility/simple/DeltaLine.flexibility.js +7 -1
- package/src/sap/gantt/flexibility/simple/GanttChartWithTable.flexibility.js +7 -1
- package/src/sap/gantt/flexibility/simple/GanttTableColumn.flexibility.js +6 -7
- package/src/sap/gantt/layouts/SidePanel.js +1 -1
- package/src/sap/gantt/legend/DimensionLegend.js +1 -1
- package/src/sap/gantt/legend/LegendBase.js +1 -1
- package/src/sap/gantt/legend/LegendContainer.js +1 -1
- package/src/sap/gantt/legend/ListLegend.js +1 -1
- package/src/sap/gantt/library.js +2 -2
- package/src/sap/gantt/messagebundle.properties +8 -2
- package/src/sap/gantt/misc/AxisOrdinal.js +1 -1
- package/src/sap/gantt/misc/Format.js +2 -2
- package/src/sap/gantt/misc/Memoizer.js +1 -1
- package/src/sap/gantt/misc/RelativeTimeFormatter.js +1 -1
- package/src/sap/gantt/misc/ShapeManager.js +1 -1
- package/src/sap/gantt/misc/Utility.js +11 -0
- package/src/sap/gantt/overlays/GanttRowOverlay.js +1 -1
- package/src/sap/gantt/overlays/Overlay.js +1 -1
- package/src/sap/gantt/polyfills/lib.js +6 -0
- package/src/sap/gantt/polyfills/time.js +6 -0
- package/src/sap/gantt/polyfills/timeUtils/day.js +6 -0
- package/src/sap/gantt/polyfills/timeUtils/dayCount.js +6 -0
- package/src/sap/gantt/polyfills/timeUtils/days.js +6 -0
- package/src/sap/gantt/polyfills/timeUtils/interval.js +6 -0
- package/src/sap/gantt/polyfills/timeUtils/millisecond.js +6 -0
- package/src/sap/gantt/polyfills/timeUtils/monday.js +6 -0
- package/src/sap/gantt/polyfills/timeUtils/saturday.js +6 -0
- package/src/sap/gantt/polyfills/timeUtils/weeks.js +6 -0
- package/src/sap/gantt/shape/Circle.js +1 -1
- package/src/sap/gantt/shape/ClipPath.js +1 -1
- package/src/sap/gantt/shape/Definitions.js +1 -1
- package/src/sap/gantt/shape/Group.js +1 -1
- package/src/sap/gantt/shape/Image.js +1 -1
- package/src/sap/gantt/shape/Line.js +1 -1
- package/src/sap/gantt/shape/Path.js +1 -1
- package/src/sap/gantt/shape/Polygon.js +1 -1
- package/src/sap/gantt/shape/Polyline.js +1 -1
- package/src/sap/gantt/shape/Rectangle.js +1 -1
- package/src/sap/gantt/shape/ResizeShadowShape.js +1 -1
- package/src/sap/gantt/shape/SelectedShape.js +1 -1
- package/src/sap/gantt/shape/Shape.js +1 -1
- package/src/sap/gantt/shape/Text.js +1 -1
- package/src/sap/gantt/shape/cal/Calendar.js +1 -1
- package/src/sap/gantt/shape/ext/Chevron.js +1 -1
- package/src/sap/gantt/shape/ext/Cursor.js +1 -1
- package/src/sap/gantt/shape/ext/Diamond.js +1 -1
- package/src/sap/gantt/shape/ext/Iconfont.js +1 -1
- package/src/sap/gantt/shape/ext/Pentangle.js +1 -1
- package/src/sap/gantt/shape/ext/TextRepeat.js +1 -1
- package/src/sap/gantt/shape/ext/Triangle.js +1 -1
- package/src/sap/gantt/shape/ext/rls/Relationship.js +1 -1
- package/src/sap/gantt/shape/ext/rls/SelectedRelationship.js +1 -1
- package/src/sap/gantt/shape/ext/ubc/UbcBorderPath.js +1 -1
- package/src/sap/gantt/shape/ext/ubc/UbcOverCapacityZonePolygon.js +1 -1
- package/src/sap/gantt/shape/ext/ubc/UbcPolygon.js +1 -1
- package/src/sap/gantt/shape/ext/ubc/UbcShortageCapacityPolygon.js +1 -1
- package/src/sap/gantt/shape/ext/ubc/UbcTooltipRectangle.js +1 -1
- package/src/sap/gantt/shape/ext/ubc/UbcUnderCapacityZonePolygon.js +1 -1
- package/src/sap/gantt/shape/ext/ubc/UbcUsedPolygon.js +1 -1
- package/src/sap/gantt/shape/ext/ubc/UtilizationBarChart.js +1 -1
- package/src/sap/gantt/shape/ext/ulc/UlcBorderPath.js +1 -1
- package/src/sap/gantt/shape/ext/ulc/UlcClipPath.js +1 -1
- package/src/sap/gantt/shape/ext/ulc/UlcClipingPath.js +1 -1
- package/src/sap/gantt/shape/ext/ulc/UlcDimension.js +1 -1
- package/src/sap/gantt/shape/ext/ulc/UlcMiddleLine.js +1 -1
- package/src/sap/gantt/shape/ext/ulc/UlcOverCapacityZoneRectangle.js +1 -1
- package/src/sap/gantt/shape/ext/ulc/UlcOverClipRectangle.js +1 -1
- package/src/sap/gantt/shape/ext/ulc/UlcRectangle.js +1 -1
- package/src/sap/gantt/shape/ext/ulc/UlcTooltipRectangle.js +1 -1
- package/src/sap/gantt/shape/ext/ulc/UlcUnderClipRectangle.js +1 -1
- package/src/sap/gantt/shape/ext/ulc/UtilizationLineChart.js +1 -1
- package/src/sap/gantt/simple/AdhocDiamond.js +1 -1
- package/src/sap/gantt/simple/AdhocLine.js +1 -1
- package/src/sap/gantt/simple/AggregationUtils.js +1 -1
- package/src/sap/gantt/simple/BaseCalendar.js +1 -1
- package/src/sap/gantt/simple/BaseChevron.js +1 -1
- package/src/sap/gantt/simple/BaseConditionalShape.js +1 -1
- package/src/sap/gantt/simple/BaseCursor.js +7 -7
- package/src/sap/gantt/simple/BaseDeltaRectangle.js +4 -4
- package/src/sap/gantt/simple/BaseDiamond.js +1 -1
- package/src/sap/gantt/simple/BaseGroup.js +1 -1
- package/src/sap/gantt/simple/BaseImage.js +1 -1
- package/src/sap/gantt/simple/BaseLine.js +1 -1
- package/src/sap/gantt/simple/BasePath.js +1 -1
- package/src/sap/gantt/simple/BasePseudoShape.js +1 -1
- package/src/sap/gantt/simple/BaseRectangle.js +2 -2
- package/src/sap/gantt/simple/BaseShape.js +7 -5
- package/src/sap/gantt/simple/BaseText.js +1 -1
- package/src/sap/gantt/simple/BaseTriangle.js +7 -1
- package/src/sap/gantt/simple/ContainerToolbar.js +7 -1
- package/src/sap/gantt/simple/ContainerToolbarPlaceholder.js +1 -1
- package/src/sap/gantt/simple/CoordinateUtils.js +1 -1
- package/src/sap/gantt/simple/CustomVariantHandler.js +8 -2
- package/src/sap/gantt/simple/DeltaLine.js +1 -1
- package/src/sap/gantt/simple/ExpandModel.js +2 -2
- package/src/sap/gantt/simple/FindAndSelectUtils.js +6 -0
- package/src/sap/gantt/simple/FullScreenUtil.js +7 -1
- package/src/sap/gantt/simple/GanttAdaptationData.js +8 -2
- package/src/sap/gantt/simple/GanttChartContainer.js +1 -1
- package/src/sap/gantt/simple/GanttChartWithTable.js +28 -4
- package/src/sap/gantt/simple/GanttDragDropExtension.js +10 -5
- package/src/sap/gantt/simple/GanttExtension.js +1 -1
- package/src/sap/gantt/simple/GanttHeader.js +1 -1
- package/src/sap/gantt/simple/GanttPointerExtension.js +1 -1
- package/src/sap/gantt/simple/GanttPopoverExtension.js +2 -2
- package/src/sap/gantt/simple/GanttPrinting.js +311 -197
- package/src/sap/gantt/simple/GanttRowAction.js +1 -1
- package/src/sap/gantt/simple/GanttRowSettings.js +1 -1
- package/src/sap/gantt/simple/GanttScrollExtension.js +1 -1
- package/src/sap/gantt/simple/GanttSearchSidePanel.js +7 -1
- package/src/sap/gantt/simple/GanttUtils.js +6 -3
- package/src/sap/gantt/simple/GanttZoomExtension.js +4 -4
- package/src/sap/gantt/simple/InnerGanttChart.js +1 -1
- package/src/sap/gantt/simple/InnerGanttChartRenderer.js +2 -0
- package/src/sap/gantt/simple/LegendContainer.js +1 -1
- package/src/sap/gantt/simple/LegendShapeGroup.js +1 -1
- package/src/sap/gantt/simple/MultiActivityGroup.js +1 -1
- package/src/sap/gantt/simple/MultiActivityRowSettings.js +1 -1
- package/src/sap/gantt/simple/PrintConfig.js +314 -0
- package/src/sap/gantt/simple/PrintDialogTemplate.js +38 -0
- package/src/sap/gantt/simple/PrintUtils.js +151 -0
- package/src/sap/gantt/simple/Relationship.js +1 -1
- package/src/sap/gantt/simple/RenderUtils.js +1 -1
- package/src/sap/gantt/simple/SelectionModel.js +14 -0
- package/src/sap/gantt/simple/ShapeScheme.js +1 -1
- package/src/sap/gantt/simple/StockChart.js +1 -1
- package/src/sap/gantt/simple/StockChartDimension.js +1 -1
- package/src/sap/gantt/simple/StockChartPeriod.js +1 -1
- package/src/sap/gantt/simple/UtilizationBarChart.js +1 -1
- package/src/sap/gantt/simple/UtilizationChart.js +1 -1
- package/src/sap/gantt/simple/UtilizationDimension.js +1 -1
- package/src/sap/gantt/simple/UtilizationLineChart.js +1 -1
- package/src/sap/gantt/simple/UtilizationPeriod.js +1 -1
- package/src/sap/gantt/simple/shapes/Shape.js +6 -6
- package/src/sap/gantt/simple/shapes/Task.js +1 -1
- package/src/sap/gantt/skipTime/DayInterval.js +1 -1
- package/src/sap/gantt/skipTime/DiscontinuousProvider.js +8 -2
- package/src/sap/gantt/skipTime/SkipInterval.js +1 -1
- package/src/sap/gantt/skipTime/SkipPattern.js +1 -1
- package/src/sap/gantt/skipTime/WeekPattern.js +1 -1
- package/src/sap/gantt/skipTime/WeeklyDiscontinuousProvider.js +6 -0
- package/src/sap/gantt/utils/GanttChartConfigurationUtils.js +6 -0
- package/src/sap/gantt/utils/GanttCustomisationUtils.js +7 -1
- package/src/sap/gantt/utils/GanttFlexibilityUtils.js +7 -1
|
@@ -170,7 +170,7 @@ sap.ui.define([
|
|
|
170
170
|
* @extend sap.ui.core.Control
|
|
171
171
|
*
|
|
172
172
|
* @author SAP SE
|
|
173
|
-
* @version 1.
|
|
173
|
+
* @version 1.127.1
|
|
174
174
|
* @since 1.60
|
|
175
175
|
*
|
|
176
176
|
* @constructor
|
|
@@ -353,7 +353,7 @@ sap.ui.define([
|
|
|
353
353
|
ghostAlignment: {type: "string", defaultValue: library.dragdrop.GhostAlignment.None},
|
|
354
354
|
|
|
355
355
|
/**
|
|
356
|
-
* Flag to show or hide the start time and end time of a shape when you drag it along the time line. The property takes effect if only one shape is selected.
|
|
356
|
+
* Flag to show or hide the start time and end time of a shape when you drag it along the time line. The property takes effect if only one shape is selected or <code>enableMultipleGhosts</code> is set to false.
|
|
357
357
|
*/
|
|
358
358
|
showShapeTimeOnDrag: {type: "boolean", defaultValue: false},
|
|
359
359
|
|
|
@@ -507,7 +507,7 @@ sap.ui.define([
|
|
|
507
507
|
selectOnlyGraphicalShape: { type: "boolean", defaultValue: false },
|
|
508
508
|
|
|
509
509
|
/**
|
|
510
|
-
* Option to show or hide shape labels on ghost while dragging.
|
|
510
|
+
* Option to show or hide shape labels on ghost while dragging. The property takes effect only when <code>enableMultipleGhosts</code> is set to true.
|
|
511
511
|
* @since 1.94
|
|
512
512
|
*/
|
|
513
513
|
showTextOnGhost: {type: "boolean", defaultValue: true},
|
|
@@ -584,7 +584,13 @@ sap.ui.define([
|
|
|
584
584
|
* Example: "shapes3,shapes2,shapes1" means shapes3 will be rendered at the bottom, and shapes1 will be rendered at the top
|
|
585
585
|
* @experimental since 1.113
|
|
586
586
|
*/
|
|
587
|
-
shapeRenderOrder: {type: "string[]", defaultValue: []}
|
|
587
|
+
shapeRenderOrder: {type: "string[]", defaultValue: []},
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* Flag to enable displaying multiple ghosts when multiple shapes are selected and dragged.
|
|
591
|
+
* @experimental since 1.127
|
|
592
|
+
*/
|
|
593
|
+
enableMultipleGhosts: {type: "boolean", defaultValue: true}
|
|
588
594
|
},
|
|
589
595
|
aggregations: {
|
|
590
596
|
/**
|
|
@@ -4627,6 +4633,24 @@ sap.ui.define([
|
|
|
4627
4633
|
}
|
|
4628
4634
|
};
|
|
4629
4635
|
|
|
4636
|
+
/**
|
|
4637
|
+
* Checks if lazy loading is enabled for time synced chart
|
|
4638
|
+
* @returns {boolean} true if lazy loading is enabled for any chart in the container with timeScrollSync enabled
|
|
4639
|
+
* @private
|
|
4640
|
+
*/
|
|
4641
|
+
GanttChartWithTable.prototype._isLazyLoadingEnabledForSyncedChart = function () {
|
|
4642
|
+
var oGanttContainer = this.getParentGanttChartContainer();
|
|
4643
|
+
var bLazyLoadingEnabled = false;
|
|
4644
|
+
if (oGanttContainer && oGanttContainer.getGanttCharts().length > 1 && oGanttContainer.getEnableTimeScrollSync()) {
|
|
4645
|
+
oGanttContainer.getGanttCharts().forEach(function(oGanttChart) {
|
|
4646
|
+
if (oGanttChart.getHorizontalLazyLoadingEnabled()) {
|
|
4647
|
+
bLazyLoadingEnabled = true;
|
|
4648
|
+
}
|
|
4649
|
+
});
|
|
4650
|
+
}
|
|
4651
|
+
return bLazyLoadingEnabled;
|
|
4652
|
+
};
|
|
4653
|
+
|
|
4630
4654
|
return GanttChartWithTable;
|
|
4631
4655
|
|
|
4632
4656
|
}, true);
|
|
@@ -100,7 +100,7 @@ sap.ui.define([
|
|
|
100
100
|
*
|
|
101
101
|
* @extends sap.gantt.simple.GanttExtension
|
|
102
102
|
* @author SAP SE
|
|
103
|
-
* @version 1.
|
|
103
|
+
* @version 1.127.1
|
|
104
104
|
* @constructor
|
|
105
105
|
* @private
|
|
106
106
|
* @alias sap.gantt.simple.GanttExtension
|
|
@@ -372,9 +372,9 @@ sap.ui.define([
|
|
|
372
372
|
this._aVisibleDraggableShapes.push(oShape);
|
|
373
373
|
}
|
|
374
374
|
}.bind(this));
|
|
375
|
-
this.bMultipleGhosts = this._aVisibleDraggableShapes.length > 1;
|
|
375
|
+
this.bMultipleGhosts = this.getGantt().getEnableMultipleGhosts() && this._aVisibleDraggableShapes.length > 1;
|
|
376
376
|
this.mGhostLabelStyle = {};
|
|
377
|
-
this._bEnableRowHighlight = oDraggedShape.getDragHighlightRows().length > 0 &&
|
|
377
|
+
this._bEnableRowHighlight = oDraggedShape.getDragHighlightRows().length > 0 && (this._aVisibleDraggableShapes.length == 1);
|
|
378
378
|
|
|
379
379
|
DragDropHelper.addDragDropEventListeners(this.getGantt());
|
|
380
380
|
} else if (this.oSourceRow) {
|
|
@@ -1486,14 +1486,19 @@ sap.ui.define([
|
|
|
1486
1486
|
var oShape = Element.getElementById(oLastNode.id);
|
|
1487
1487
|
var bLabelFlag = !oShape && oLastNode.parentNode && Element.getElementById(oLastNode.parentNode.id) instanceof sap.gantt.simple.BaseGroup;
|
|
1488
1488
|
var bParentLabelFlag = !oShape && oLastNode.parentNode && oLastNode.parentNode.parentNode && Element.getElementById(oLastNode.parentNode.parentNode.id) instanceof sap.gantt.simple.BaseGroup;
|
|
1489
|
+
var bEnableMultipleGhosts = this.getGantt().getEnableMultipleGhosts();
|
|
1489
1490
|
if (bLabelFlag){
|
|
1490
1491
|
oShape = Element.getElementById(oLastNode.parentNode.id);
|
|
1491
1492
|
} else if (bParentLabelFlag){
|
|
1492
1493
|
oShape = Element.getElementById(oLastNode.parentNode.parentNode.id);
|
|
1493
1494
|
}
|
|
1494
|
-
if (bTargetShape && this.getGantt().getShowTextOnGhost()) {
|
|
1495
|
+
if (bEnableMultipleGhosts && bTargetShape && this.getGantt().getShowTextOnGhost()) {
|
|
1495
1496
|
sTextDom = this._getGhostLabel(oShape, oLastNode);
|
|
1496
1497
|
}
|
|
1498
|
+
if (!bEnableMultipleGhosts) {
|
|
1499
|
+
var sNumberOfObjects = this.getNumberOfDragObject(oLastNode);
|
|
1500
|
+
sTextDom = "<div id='sapGanttDragText' class='sapGanttDragTextOverlay " + oStyle.css + "'>" + sNumberOfObjects + "</div>";
|
|
1501
|
+
}
|
|
1497
1502
|
|
|
1498
1503
|
if (this.bMultipleGhosts){
|
|
1499
1504
|
var oNode;
|
|
@@ -1514,7 +1519,7 @@ sap.ui.define([
|
|
|
1514
1519
|
"<img class='sapGanttDragGhostImg' src='" + cropedImg + "'>" + sTextDom +
|
|
1515
1520
|
"</div>";
|
|
1516
1521
|
oGhostWrapperDom.insertAdjacentHTML('beforeend', sDragGhostDom);
|
|
1517
|
-
if (bTargetShape && this.getGantt().getShowTextOnGhost() && sTextDom !== "") {
|
|
1522
|
+
if (bEnableMultipleGhosts && bTargetShape && this.getGantt().getShowTextOnGhost() && sTextDom !== "") {
|
|
1518
1523
|
this._updateGhostLabelStyle();
|
|
1519
1524
|
}
|
|
1520
1525
|
};
|
|
@@ -83,7 +83,7 @@ function(
|
|
|
83
83
|
*
|
|
84
84
|
* @extends sap.gantt.simple.GanttExtension
|
|
85
85
|
* @author SAP SE
|
|
86
|
-
* @version 1.
|
|
86
|
+
* @version 1.127.1
|
|
87
87
|
* @constructor
|
|
88
88
|
* @private
|
|
89
89
|
* @alias sap.gantt.simple.GanttPopoverExtension
|
|
@@ -158,7 +158,7 @@ function(
|
|
|
158
158
|
GanttPopoverExtension.prototype.onMouseDown = function(oEvent) {
|
|
159
159
|
var oSelection = this.getGantt().getSelection();
|
|
160
160
|
var iSelectedDraggableShapes = oSelection.numberOfSelectedDraggableShapes();
|
|
161
|
-
this.bMultipleShapes = iSelectedDraggableShapes > 1;
|
|
161
|
+
this.bMultipleShapes = this.getGantt().getEnableMultipleGhosts() && iSelectedDraggableShapes > 1;
|
|
162
162
|
this.pageWidth = window.innerWidth;
|
|
163
163
|
this.pageHeight = window.innerHeight;
|
|
164
164
|
PopoverHelper.addPopoverEventListeners(this.getGantt());
|