Fixed: Switching tabs in Activity and Wanted no longer add to navigation history, just like Settings, preventing a redirect loop when using the browser back navigation.

This commit is contained in:
Taloth Saldono 2014-11-11 17:01:13 +01:00
parent 18f0e3d536
commit 17ac82385a
4 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@ define(
},
_navigate: function (route) {
Backbone.history.navigate(route);
Backbone.history.navigate(route, { trigger: false, replace: true });
},
_showHistory: function (e) {

View File

@ -254,7 +254,7 @@ define(
this._navigate('settings/ui');
},
_navigate:function(route){
_navigate: function (route) {
Backbone.history.navigate(route, { trigger: false, replace: true });
},

View File

@ -73,7 +73,7 @@ define(
}
},
_navigate:function(route){
_navigate: function (route){
Backbone.history.navigate(route, { trigger: true, replace: true });
},

View File

@ -43,7 +43,7 @@ define(
},
_navigate: function (route) {
Backbone.history.navigate(route);
Backbone.history.navigate(route, { trigger: false, replace: true });
},
_showMissing: function (e) {