small improvements for history control

This commit is contained in:
Sebastian Sdorra
2011-08-11 16:14:55 +02:00
parent 920a36b6db
commit e8572f7b69
7 changed files with 93 additions and 14 deletions

View File

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