mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-07-20 00:50:31 +02:00
fix non working history
This commit is contained in:
@@ -37,15 +37,13 @@ Sonia.History = {
|
||||
recentlyChanged: [],
|
||||
|
||||
add: function(token){
|
||||
if (this.initialized){
|
||||
if (token != Ext.History.getToken()){
|
||||
if (this.isInvokeable(this.recentlyChanged, token)){
|
||||
if ( debug ){
|
||||
console.debug('add history element ' + token);
|
||||
}
|
||||
this.recentlyAdded.push(token);
|
||||
Ext.History.add(token, true);
|
||||
if (token != Ext.History.getToken()){
|
||||
if (this.isInvokeable(this.recentlyChanged, token)){
|
||||
if ( debug ){
|
||||
console.debug('add history element ' + token);
|
||||
}
|
||||
this.recentlyAdded.push(token);
|
||||
Ext.History.add(token, true);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user