Bug 585991 - Show a popup listing possible completions; r=rcampbell,dtownsend sr=neil

This commit is contained in:
Mihai Sucan 2011-05-18 19:10:28 +03:00
Родитель 3cde414dbf
Коммит 9083ce4ea0
1 изменённых файлов: 8 добавлений и 0 удалений

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

@ -223,7 +223,15 @@ AutocompletePopup.prototype = {
while (this._list.hasChildNodes()) { while (this._list.hasChildNodes()) {
this._list.removeChild(this._list.firstChild); this._list.removeChild(this._list.firstChild);
} }
// Reset the panel and list dimensions. New dimensions are calculated when a
// new set of items is added to the autocomplete popup.
this._list.width = ""; this._list.width = "";
this._list.height = "";
this._panel.width = "";
this._panel.height = "";
this._panel.top = "";
this._panel.left = "";
}, },
/** /**