mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
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:
parent
18f0e3d536
commit
17ac82385a
@ -49,7 +49,7 @@ define(
|
||||
},
|
||||
|
||||
_navigate: function (route) {
|
||||
Backbone.history.navigate(route);
|
||||
Backbone.history.navigate(route, { trigger: false, replace: true });
|
||||
},
|
||||
|
||||
_showHistory: function (e) {
|
||||
|
@ -254,7 +254,7 @@ define(
|
||||
this._navigate('settings/ui');
|
||||
},
|
||||
|
||||
_navigate:function(route){
|
||||
_navigate: function (route) {
|
||||
Backbone.history.navigate(route, { trigger: false, replace: true });
|
||||
},
|
||||
|
||||
|
@ -73,7 +73,7 @@ define(
|
||||
}
|
||||
},
|
||||
|
||||
_navigate:function(route){
|
||||
_navigate: function (route){
|
||||
Backbone.history.navigate(route, { trigger: true, replace: true });
|
||||
},
|
||||
|
||||
|
@ -43,7 +43,7 @@ define(
|
||||
},
|
||||
|
||||
_navigate: function (route) {
|
||||
Backbone.history.navigate(route);
|
||||
Backbone.history.navigate(route, { trigger: false, replace: true });
|
||||
},
|
||||
|
||||
_showMissing: function (e) {
|
||||
|
Loading…
Reference in New Issue
Block a user