mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-03 20:49:27 +00:00
Bug 303520: Cannot select added language in language preferences dialog if added when the list can scroll, r=mconnor
This commit is contained in:
parent
31c2f50383
commit
4ee897ceaa
@ -179,9 +179,11 @@ var gLanguagesDialog = {
|
||||
this._acceptLanguages[languages[i]] = true;
|
||||
}
|
||||
|
||||
if (this._activeLanguages.childNodes.length > 0)
|
||||
if (this._activeLanguages.childNodes.length > 0) {
|
||||
this._activeLanguages.ensureIndexIsVisible(selectedIndex);
|
||||
this._activeLanguages.selectedIndex = selectedIndex;
|
||||
|
||||
}
|
||||
|
||||
return undefined;
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user