mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 01:15:44 +01:00
added Sonia.History class to simplify handling of browser back and forward buttons
This commit is contained in:
@@ -103,11 +103,7 @@ Sonia.user.Grid = Ext.extend(Sonia.rest.Grid, {
|
||||
console.debug( item.name + ' selected' );
|
||||
}
|
||||
|
||||
var token = Ext.History.getToken();
|
||||
if ( token ){
|
||||
var parts = token.split('|');
|
||||
Ext.History.add(parts[0] + '|' + item.name);
|
||||
}
|
||||
Sonia.History.append(item.name);
|
||||
|
||||
var panel = new Sonia.user.FormPanel({
|
||||
item: item,
|
||||
|
||||
Reference in New Issue
Block a user