added basic history methods for changesetviewer

This commit is contained in:
Sebastian Sdorra
2011-08-15 13:13:56 +02:00
parent 2b0f161d35
commit f92a360d73
3 changed files with 82 additions and 5 deletions

View File

@@ -502,7 +502,10 @@ Ext.onReady(function(){
listeners: {
tabchange: function(tabPanel, tab){
if ( Ext.isDefined(tab) ){
Sonia.History.add(tab.id, true);
var id = tab.historyId ? tab.historyId : tab.id;
if (id){
Sonia.History.add(id, true);
}
}
}
}