diff --git a/js/app/views/PlotTabResultUI.js b/js/app/views/PlotTabResultUI.js index ab7c703..c87107b 100644 --- a/js/app/views/PlotTabResultUI.js +++ b/js/app/views/PlotTabResultUI.js @@ -609,11 +609,10 @@ Ext.define('amdaUI.PlotTabResultUI', { var ttFileIndex = this.crtTTFileIndex; var ttintervalIndex = this.crtContext.page.ttIndex; - if (ttintervalIndex <= 0 && ttFileIndex > 0) { + --ttintervalIndex; + if(ttintervalIndex < 0) --ttFileIndex; - } - else - --ttintervalIndex; + this.callInteractivePlot({ 'action': 'goto', 'interactiveId': this.interactiveId, 'ttFileIndex': ttFileIndex, 'intIndex': ttintervalIndex }); } }, -- libgit2 0.21.2