Commit d3fae6559b1867adbaa5d6bd6ff18d6695acc8a4

Authored by Erdogan Furkan
1 parent fbdbf740

#11588 - IHM part

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 },
... ...