Commit 8686a0262544e441d827dcf1ee600b4e505e8a75
1 parent
e88b398e
Exists in
master
and in
17 other branches
Disable actions like Forward, Backward, .. in plot preview when HistoPlot is called.
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
js/app/views/PlotComponents/PlotPreviewUI.js
... | ... | @@ -176,7 +176,8 @@ Ext.define('amdaPlotComp.PlotPreviewUI', { |
176 | 176 | this.time = new Date(configResult.time); |
177 | 177 | this.time = Ext.Date.add(this.time, Ext.Date.MINUTE, this.time.getTimezoneOffset()); |
178 | 178 | this.panelId = configResult.panelId; |
179 | - this.isPlotFunction = configResult.plotFile.includes("plotFunction"); | |
179 | + //Solution temporaire | |
180 | + this.isPlotFunction = configResult.plotFile.includes("plotFunction") || configResult.plotFile.includes("histoPlot"); | |
180 | 181 | this.plotFile = configResult.plotFile; |
181 | 182 | |
182 | 183 | this.coordinatesField = new Ext.toolbar.TextItem({ |
... | ... |