fix history panel selection

This commit is contained in:
Sebastian Sdorra
2011-11-19 16:31:36 +01:00
parent f00f37149a
commit adc0476921
2 changed files with 4 additions and 0 deletions

View File

@@ -186,6 +186,8 @@ Sonia.History.register('groupPanel', {
if ( ! panel ){
main.addGroupsTabPanel();
panel = Ext.getCmp('groups');
} else {
main.addTab(panel);
}
if (repoId){
panel.getGrid().selectById(repoId);

View File

@@ -295,6 +295,8 @@ Sonia.History.register('repositoryPanel', {
if ( ! panel ){
main.addRepositoriesTabPanel();
panel = Ext.getCmp('repositories');
} else {
main.addTab(panel);
}
if (repoId){
panel.getGrid().selectById(repoId);