diff --git a/js/app/views/PlotComponents/intervalSelection/ZoomIntervalSelection.js b/js/app/views/PlotComponents/intervalSelection/ZoomIntervalSelection.js index 10244aa..abc0524 100644 --- a/js/app/views/PlotComponents/intervalSelection/ZoomIntervalSelection.js +++ b/js/app/views/PlotComponents/intervalSelection/ZoomIntervalSelection.js @@ -30,13 +30,17 @@ Ext.define('amdaPlotComp.intervalSelection.ZoomIntervalSelection', { if (this._notValidValues()) { myDesktopApp.warningMsg('The Input Values are not defined'); } else { + + var minVal = Ext.Date.format(this.getField1Value(), 'Y-m-d\\TH:i:s.u'); + var maxVal = Ext.Date.format(this.getField2Value(), 'Y-m-d\\TH:i:s.u'); + this.hostCmp.callInteractivePlot({ 'action': 'zoom', 'interactiveId': this.interactiveId, 'panelId': this.panelId, 'axeId': this.type, - 'min': this.getField1Value(), - 'max': this.getField2Value() + 'min': minVal, + 'max': maxVal }); this._resetHostCmpSelection(); -- libgit2 0.21.2