зеркало из https://github.com/mozilla/gecko-dev.git
Bug 585991 - Show a popup listing possible completions; r=rcampbell,dtownsend sr=neil
This commit is contained in:
Родитель
3cde414dbf
Коммит
9083ce4ea0
|
@ -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 = "";
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Загрузка…
Ссылка в новой задаче