Bug 596759 - Selecting a tab should focus its content; r=enndeakin

This commit is contained in:
Florian Quèze 2010-09-16 01:28:00 -04:00
Родитель 3e9a222ad5
Коммит 660df9ffc2
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -477,7 +477,7 @@
aNewTab.focus(); aNewTab.focus();
} }
else if (this.getAttribute("setfocus") != "false") { 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 // Make sure that the focus doesn't move outside the tabbox
if (this.tabbox) { if (this.tabbox) {