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
parent cff4d6c214
commit 18f4d49483

View File

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