rename createRepositoriesPanel method to createHomePanel

This commit is contained in:
Sebastian Sdorra
2011-09-25 13:04:54 +02:00
parent ae37f890a1
commit c4776b4662

View File

@@ -102,12 +102,12 @@ Sonia.scm.Main = Ext.extend(Ext.util.Observable, {
postLogin: function(){ postLogin: function(){
this.createMainMenu(); this.createMainMenu();
this.createRepositoryPanel(); this.createHomePanel();
}, },
createRepositoryPanel: function(){ createHomePanel: function(){
if ( debug ){ if ( debug ){
console.debug('create repository panel'); console.debug('create home panel');
} }
this.mainTabPanel.add({ this.mainTabPanel.add({
id: 'repositories', id: 'repositories',
@@ -120,7 +120,7 @@ Sonia.scm.Main = Ext.extend(Ext.util.Observable, {
}, },
addRepositoriesTabPanel: function(){ addRepositoriesTabPanel: function(){
this.mainTabPanel.setActiveTab('repositories'); this.addTabPanel("repositories", "repositoryPanel", this.tabRepositoriesText);
}, },
addScmConfigTabPanel: function(){ addScmConfigTabPanel: function(){