mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 09:25:43 +01:00
small improvements for history control
This commit is contained in:
@@ -102,6 +102,13 @@ Sonia.user.Grid = Ext.extend(Sonia.rest.Grid, {
|
||||
if ( debug ){
|
||||
console.debug( item.name + ' selected' );
|
||||
}
|
||||
|
||||
var token = Ext.History.getToken();
|
||||
if ( token ){
|
||||
var parts = token.split('|');
|
||||
Ext.History.add(parts[0] + '|' + item.name);
|
||||
}
|
||||
|
||||
var panel = new Sonia.user.FormPanel({
|
||||
item: item,
|
||||
region: 'south',
|
||||
|
||||
Reference in New Issue
Block a user