Fixed: Settings/System tabs will no longer fill up the browser history
This commit is contained in:
parent
92f9093138
commit
d494023504
|
@ -22,28 +22,28 @@
|
|||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="history">
|
||||
<a href="/history">
|
||||
<i class="icon-time"></i>
|
||||
<br>
|
||||
History
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="missing">
|
||||
<a href="/missing">
|
||||
<i class="icon-warning-sign"></i>
|
||||
<br>
|
||||
Missing
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="settings">
|
||||
<a href="/settings">
|
||||
<i class="icon-cogs"></i>
|
||||
<br>
|
||||
Settings
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="system">
|
||||
<a href="/system">
|
||||
<i class="icon-laptop"></i>
|
||||
<br>
|
||||
System
|
||||
|
|
|
@ -184,7 +184,7 @@ define(
|
|||
},
|
||||
|
||||
_navigate:function(route){
|
||||
Backbone.history.navigate(route, {trigger:true});
|
||||
Backbone.history.navigate(route, { trigger: true, replace: true });
|
||||
},
|
||||
|
||||
_save: function () {
|
||||
|
|
|
@ -52,7 +52,7 @@ define(
|
|||
},
|
||||
|
||||
_navigate:function(route){
|
||||
Backbone.history.navigate(route);
|
||||
Backbone.history.navigate(route, { trigger: true, replace: true });
|
||||
},
|
||||
|
||||
_showInfo: function (e) {
|
||||
|
|
Loading…
Reference in New Issue