From 3d29c03f535fde8d5beb6618d5b2f55be76e0c87 Mon Sep 17 00:00:00 2001 From: "dmose%netscape.com" Date: Wed, 12 Jun 2002 05:14:32 +0000 Subject: [PATCH] authenticated LDAP autocompletion incorrectly autopicks current addr after password entered (bug 146569) r=blake@netscape.com, sr=hewitt@netscape.com --- .../resources/content/addressingWidgetOverlay.xul | 2 +- .../autocomplete/resources/content/autocomplete.xml | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/mailnews/compose/resources/content/addressingWidgetOverlay.xul b/mailnews/compose/resources/content/addressingWidgetOverlay.xul index 04957f9f0ee..862486843cb 100644 --- a/mailnews/compose/resources/content/addressingWidgetOverlay.xul +++ b/mailnews/compose/resources/content/addressingWidgetOverlay.xul @@ -60,7 +60,7 @@ Rights Reserved. type="autocomplete" flex="1" searchSessions="addrbook" timeout="300" maxrows="4" autoFill="true" autoFillAfterMatch="true" forceComplete="true" - minResultsForPopup="3" + minResultsForPopup="3" ignoreBlurWhileSearching="true" ontextcommand="awRecipientTextCommand(eventParam, this)" onerrorcommand="awRecipientErrorCommand(eventParam, this)" oninput="gContentChanged=true; setupAutocomplete();" disableonsend="true" diff --git a/xpfe/components/autocomplete/resources/content/autocomplete.xml b/xpfe/components/autocomplete/resources/content/autocomplete.xml index ca12d1a9c0a..ecf2eeeea98 100644 --- a/xpfe/components/autocomplete/resources/content/autocomplete.xml +++ b/xpfe/components/autocomplete/resources/content/autocomplete.xml @@ -187,6 +187,16 @@ onset="this.setAttribute('disableAutocomplete', val); return val;" onget="return this.getAttribute('disableAutocomplete') == 'true';"/> + + + @@ -1260,7 +1270,7 @@ action="this.userAction = 'typing';"/> + action="if ( !(this.ignoreBlurWhileSearching && this.isSearching) ) {this.userAction = 'none'; this.finishAutoComplete(false, false, event);}"/>