Commit d7558ac51ffe7d9631e1ccc8e032c5b9565d211c
1 parent
1bc6ba4d
Exists in
master
and in
16 other branches
Fix: when you run Histoplot for second time the preview options are shown.
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
js/app/views/PlotComponents/PlotPreviewUI.js
... | ... | @@ -24,6 +24,7 @@ Ext.define('amdaPlotComp.PlotPreviewUI', { |
24 | 24 | ], |
25 | 25 | |
26 | 26 | isPlotFunction: false, |
27 | + disableDownloadingData:false, | |
27 | 28 | panelImage: null, |
28 | 29 | crtContext: null, |
29 | 30 | sliderPage: null, |
... | ... | @@ -148,7 +149,7 @@ Ext.define('amdaPlotComp.PlotPreviewUI', { |
148 | 149 | |
149 | 150 | updatePlotImage: function (configResult, newPlot) { |
150 | 151 | this.crtContext = configResult.context; |
151 | - this.isPlotFunction = configResult.plotFile.includes("plotFunction"); | |
152 | + this.isPlotFunction = configResult.plotFile.includes("plotFunction") || configResult.plotFile.includes("histoPlot"); | |
152 | 153 | this.interactiveId = configResult.interactiveId; |
153 | 154 | this.panelId = configResult.panelId; |
154 | 155 | this.folder = configResult.folder; | ... | ... |