зеркало из https://github.com/mozilla/pjs.git
Bug 596759 - Selecting a tab should focus its content; r=enndeakin
This commit is contained in:
Родитель
3e9a222ad5
Коммит
660df9ffc2
|
@ -477,7 +477,7 @@
|
|||
aNewTab.focus();
|
||||
}
|
||||
else if (this.getAttribute("setfocus") != "false") {
|
||||
document.commandDispatcher.advanceFocusIntoSubtree(aNewTab);
|
||||
document.commandDispatcher.advanceFocusIntoSubtree(this.tabbox.selectedPanel);
|
||||
|
||||
// Make sure that the focus doesn't move outside the tabbox
|
||||
if (this.tabbox) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче