mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-24 00:09:07 +01:00
fix history panel selection
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user