mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Merge branch 'pr/3059'
This commit is contained in:
4
js/angular/service/history.js
vendored
4
js/angular/service/history.js
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user