added Sonia.History class to simplify handling of browser back and forward buttons

This commit is contained in:
Sebastian Sdorra
2011-08-15 11:02:57 +02:00
parent e8572f7b69
commit 1c4426d629
5 changed files with 59 additions and 21 deletions

View File

@@ -446,7 +446,7 @@ Ext.onReady(function(){
listeners: {
tabchange: function(tabPanel, tab){
if ( Ext.isDefined(tab) ){
Ext.History.add(tab.id);
Sonia.History.add(tab.id, true);
}
}
}