mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-05 06:09:12 +01:00
merge with branch issue-372
This commit is contained in:
@@ -366,6 +366,13 @@ Sonia.repository.Panel = Ext.extend(Sonia.rest.Panel, {
|
||||
},
|
||||
|
||||
resetPanel: function(){
|
||||
Ext.getCmp('repoRmButton').setDisabled(true);
|
||||
if (state.clientConfig.enableRepositoryArchive){
|
||||
var archiveBt = Ext.getCmp('repoArchiveButton');
|
||||
archiveBt.setText(this.archiveText);
|
||||
archiveBt.setDisabled(true);
|
||||
}
|
||||
this.getGrid().getSelectionModel().clearSelections();
|
||||
Sonia.repository.setEditPanel(Sonia.repository.DefaultPanel);
|
||||
},
|
||||
|
||||
@@ -388,7 +395,6 @@ Sonia.repository.Panel = Ext.extend(Sonia.rest.Panel, {
|
||||
|
||||
repositoryCreated: function(item){
|
||||
var grid = this.getGrid();
|
||||
this.clearRepositoryFilter(grid);
|
||||
|
||||
grid.reload(function(){
|
||||
if (debug){
|
||||
|
||||
Reference in New Issue
Block a user