Skip to content

Commit

Permalink
Merge branch 'pr/3059'
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Feb 11, 2015
2 parents 04a0cce + f949a44 commit bcc4eeb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/angular/service/history.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,10 @@ function($rootScope, $state, $location, $window, $timeout, $ionicViewSwitcher, $
if (hist.stack[x].viewId == viewId) {
action = 'dupNav';
direction = DIRECTION_NONE;
if (x != 0) {
hist.stack[x - 1].forwardViewId = null;
}
viewHistory.forwardView = null;
hist.stack[x - 1].forwardViewId = viewHistory.forwardView = null;
viewHistory.currentView.index = viewHistory.backView.index;
viewHistory.currentView.backViewId = viewHistory.backView.backViewId;
Expand Down

0 comments on commit bcc4eeb

Please sign in to comment.