mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-17 18:51:10 +01:00
fix history bug with nonactive changesetviewer tab
This commit is contained in:
@@ -122,6 +122,7 @@ Sonia.History.register('changesetviewer', function(params){
|
|||||||
var tab = Ext.getCmp(id);
|
var tab = Ext.getCmp(id);
|
||||||
|
|
||||||
if ( tab ){
|
if ( tab ){
|
||||||
|
main.getMainTabPanel().setActiveTab(id);
|
||||||
tab.loadChangesets(start, pageSize);
|
tab.loadChangesets(start, pageSize);
|
||||||
} else {
|
} else {
|
||||||
Ext.Ajax.request({
|
Ext.Ajax.request({
|
||||||
|
|||||||
@@ -486,6 +486,10 @@ Sonia.scm.Main = Ext.extend(Ext.util.Observable, {
|
|||||||
document.head.appendChild(css);
|
document.head.appendChild(css);
|
||||||
this.stylesheets.push(url);
|
this.stylesheets.push(url);
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
getMainTabPanel: function(){
|
||||||
|
return this.mainTabPanel;
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user