Commit dce8df55b371989eb602a92351868990af84993b

Authored by Benjamin Renard
2 parents 5d173fb0 d3fae655

Merge branch 'FER_11588' into amdadev

Showing 1 changed file with 3 additions and 4 deletions   Show diff stats
js/app/views/PlotTabResultUI.js
... ... @@ -609,11 +609,10 @@ Ext.define('amdaUI.PlotTabResultUI', {
609 609 var ttFileIndex = this.crtTTFileIndex;
610 610 var ttintervalIndex = this.crtContext.page.ttIndex;
611 611  
612   - if (ttintervalIndex <= 0 && ttFileIndex > 0) {
  612 + --ttintervalIndex;
  613 + if(ttintervalIndex < 0)
613 614 --ttFileIndex;
614   - }
615   - else
616   - --ttintervalIndex;
  615 +
617 616 this.callInteractivePlot({ 'action': 'goto', 'interactiveId': this.interactiveId, 'ttFileIndex': ttFileIndex, 'intIndex': ttintervalIndex });
618 617 }
619 618 },
... ...