From 18f4d49483fe5c5d4cf0669fef1bb72613b22026 Mon Sep 17 00:00:00 2001 From: Neil Rashbrook Date: Thu, 27 Nov 2008 10:19:23 +0000 Subject: [PATCH] Bug 460466 Clicking on autocompleted disables autocomplete for that window r=Callek NPOTB --- .../components/autocomplete/resources/content/autocomplete.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xpfe/components/autocomplete/resources/content/autocomplete.xml b/xpfe/components/autocomplete/resources/content/autocomplete.xml index a20dfeaa627a..c84ef41cd660 100644 --- a/xpfe/components/autocomplete/resources/content/autocomplete.xml +++ b/xpfe/components/autocomplete/resources/content/autocomplete.xml @@ -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; } ]]>