fix buttons after store reload

This commit is contained in:
Sebastian Sdorra
2012-03-30 10:47:48 +02:00
parent aeb0b2d415
commit 29f4a9e8f2

View File

@@ -407,6 +407,10 @@ Sonia.repository.Panel = Ext.extend(Sonia.rest.Panel, {
reload: function(){
this.getGrid().reload();
var repo = this.getSelectedRepository();
if ( repo ){
this.onRepositorySelection(repo, Sonia.repository.isOwner(repo));
}
}
});