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>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="history">
|
<a href="/history">
|
||||||
<i class="icon-time"></i>
|
<i class="icon-time"></i>
|
||||||
<br>
|
<br>
|
||||||
History
|
History
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="missing">
|
<a href="/missing">
|
||||||
<i class="icon-warning-sign"></i>
|
<i class="icon-warning-sign"></i>
|
||||||
<br>
|
<br>
|
||||||
Missing
|
Missing
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="settings">
|
<a href="/settings">
|
||||||
<i class="icon-cogs"></i>
|
<i class="icon-cogs"></i>
|
||||||
<br>
|
<br>
|
||||||
Settings
|
Settings
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="system">
|
<a href="/system">
|
||||||
<i class="icon-laptop"></i>
|
<i class="icon-laptop"></i>
|
||||||
<br>
|
<br>
|
||||||
System
|
System
|
||||||
|
|
|
@ -184,7 +184,7 @@ define(
|
||||||
},
|
},
|
||||||
|
|
||||||
_navigate:function(route){
|
_navigate:function(route){
|
||||||
Backbone.history.navigate(route, {trigger:true});
|
Backbone.history.navigate(route, { trigger: true, replace: true });
|
||||||
},
|
},
|
||||||
|
|
||||||
_save: function () {
|
_save: function () {
|
||||||
|
|
|
@ -52,7 +52,7 @@ define(
|
||||||
},
|
},
|
||||||
|
|
||||||
_navigate:function(route){
|
_navigate:function(route){
|
||||||
Backbone.history.navigate(route);
|
Backbone.history.navigate(route, { trigger: true, replace: true });
|
||||||
},
|
},
|
||||||
|
|
||||||
_showInfo: function (e) {
|
_showInfo: function (e) {
|
||||||
|
|
Loading…
Reference in New Issue