Commit 550c940cdf3354fa52b0d25584bc15a0f74821e3
1 parent
535d7638
Exists in
master
and in
55 other branches
The title of a window of Zoom is changed when 'plotFunction' is called
Showing
1 changed file
with
6 additions
and
1 deletions
Show diff stats
js/app/views/PlotComponents/PlotZoomPlug.js
... | ... | @@ -158,7 +158,12 @@ Ext.define('amdaPlotComp.PlotZoomPlug', { |
158 | 158 | |
159 | 159 | switch (zoomType) { |
160 | 160 | case 'timeAxis': |
161 | - this.win.setTitle('Zoom on time axis'); | |
161 | + if (this.isPlotFunction) { | |
162 | + const title = amdaPlotObj.PlotObjectConfig.plotFunctionItems.name; | |
163 | + this.win.setTitle(title + '-Panel Id: ' + panelId); | |
164 | + } else { | |
165 | + this.win.setTitle('Zoom on time axis & Interval selection - Panel Id : ' + panelId); | |
166 | + } | |
162 | 167 | break; |
163 | 168 | case 'y-left': |
164 | 169 | this.win.setTitle('Zoom on Y Left axis - Panel Id : ' + panelId); | ... | ... |