Fixed: Settings/System tabs will no longer fill up the browser history

This commit is contained in:
Mark McDowall 2013-12-27 14:22:57 -08:00
parent 92f9093138
commit d494023504
3 changed files with 6 additions and 6 deletions

View File

@ -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

View File

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

View File

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