Commit 11c71fa5df52c93f28851a737752930a5f5d0098

Authored by Menouar AZIB
1 parent e9597b38

Add comments to PlotFunctionIntervalSelection.js

js/app/views/PlotComponents/intervalSelection/PlotFunctionIntervalSelection.js
... ... @@ -24,9 +24,7 @@ Ext.define('amdaPlotComp.intervalSelection.PlotFunctionIntervalSelection', {
24 24 if (this._notValidValues()) {
25 25 myDesktopApp.warningMsg('Please note that either the Start Time or the Stop Time has not been defined. To proceed, ensure both times are properly set.');
26 26 } else {
27   - let request_to_send = {};
28   - request_to_send = Object.assign({}, this.plotFunctionType.getValues());
29   - request_to_send = Object.assign({}, request_to_send, {
  27 + const request_to_send = Object.assign({}, this.plotFunctionType.getValues(), {
30 28 'action': 'plotFunction',
31 29 'interactiveId': this.interactiveId,
32 30 'panelId': this.panelId,
... ...