Bug 460466 Clicking on autocompleted <input> disables autocomplete for that window r=Callek NPOTB

This commit is contained in:
Neil Rashbrook 2008-11-27 10:19:23 +00:00
Родитель cff4d6c214
Коммит 18f4d49483
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -1628,7 +1628,6 @@
this.tree.view = aInput.controller;
this.view = this.tree.view;
this.showCommentColumn = aInput.showCommentColumn;
this.input = aInput;
this.invalidate();
var viewer = aElement
@ -1647,6 +1646,8 @@
? nsIPopupBoxObject.ROLLUP_CONSUME
: nsIPopupBoxObject.ROLLUP_NO_CONSUME);
this.openPopup(aElement, "after_start", 0, 0, false, false);
if (this.state != "closed")
this.input = aInput;
}
]]></body>
</method>