Bug 511085: selecting a result with the keyboard in the awesome bar should put in into view [r=mark.finkle]

This commit is contained in:
Vivien Nicolas 2009-08-19 01:55:03 -04:00
Родитель 7d2d05b86d
Коммит 102bebd960
1 изменённых файлов: 1 добавлений и 0 удалений

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

@ -117,6 +117,7 @@
if (item) { if (item) {
this._selectedItem = item; this._selectedItem = item;
this._styleItem(this._selectedItem, true); this._styleItem(this._selectedItem, true);
this._scrollBoxObject.ensureElementIsVisible(this._selectedItem);
} }
return this._selectedIndex = val; return this._selectedIndex = val;