Commit d45435151428825c06bae17755541e894a25a229

Authored by Benjamin Renard
1 parent 8da6a7cb

Fix pb. with Zoom plugin

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
js/app/views/PlotTabResultUI.js
... ... @@ -504,7 +504,7 @@ Ext.define('amdaUI.PlotTabResultUI', {
504 504 this.crtContext = configResult.context;
505 505  
506 506 var zoomPlugin = this.getPlugin('plot-zoom-plugin-id-'+this.interactiveId);
507   - if (zoomPlugin)
  507 + if (zoomPlugin && newPlot)
508 508 zoomPlugin.close();
509 509  
510 510 this.crtTTFileIndex = configResult.ttFileIndex;
... ...