Форк Rambox
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

24 lines
556 B

/** */
Ext.define('Ext.aria.tab.Bar', {
override: 'Ext.tab.Bar',
requires: [
'Ext.aria.tab.Tab'
],
findNextActivatable: function(toClose) {
var me = this,
next;
next = me.callParent(arguments);
// If the default algorithm can't find the next tab to activate,
// fall back to the currently active tab. We need to have a focused
// tab at all times.
if (!next) {
next = me.activeTab;
}
return next;
}
});