Commit dce8df55b371989eb602a92351868990af84993b
Exists in
master
and in
9 other branches
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 | }, | ... | ... |