Bug 1303304 - Use completeselectedindex="true" for all Thunderbird address entry. r=aceman,MakeMyDay a=jorgk DONTBUILD
authorJorg K <jorgk@jorgk.com>
Sun, 18 Sep 2016 22:18:21 +0200
changeset 27477 b0b35fc4900486ed07b505518209c1c5c1ff9bd8
parent 27476 7b4065981cd44801c3724e851359dd8092e83dc6
child 27478 1998005e0ed9b5cb4ccb4a10d8fcc80bda29e24b
push id1850
push userclokep@gmail.com
push dateWed, 08 Mar 2017 19:29:12 +0000
treeherdercomm-esr52@028df196b2d9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaceman, MakeMyDay, jorgk
bugs1303304
Bug 1303304 - Use completeselectedindex="true" for all Thunderbird address entry. r=aceman,MakeMyDay a=jorgk DONTBUILD
calendar/base/content/dialogs/calendar-event-dialog-attendees.xml
mail/components/addrbook/content/abEditListDialog.xul
mail/components/addrbook/content/abMailListDialog.xul
mail/components/compose/content/messengercompose.xul
--- a/calendar/base/content/dialogs/calendar-event-dialog-attendees.xml
+++ b/calendar/base/content/dialogs/calendar-event-dialog-attendees.xml
@@ -38,16 +38,17 @@
                          type="autocomplete"
                          flex="1"
                          autocompletesearch="addrbook ldap"
                          autocompletesearchparam="{}"
                          timeout="300"
                          maxrows="4"
                          completedefaultindex="true"
                          forcecomplete="true"
+                         completeselectedindex="true"
                          minresultsforpopup="1"
                          onblur="if (this.localName == 'textbox') document.getBindingParent(this).returnHit(this, true)"
                          ignoreblurwhilesearching="true"
                          oninput="this.setAttribute('dirty', 'true');"
                          ontextentered="document.getBindingParent(this).returnHit(this);">
             </xul:textbox>
           </xul:listcell>
         </xul:listitem>
--- a/mail/components/addrbook/content/abEditListDialog.xul
+++ b/mail/components/addrbook/content/abEditListDialog.xul
@@ -55,16 +55,17 @@
     <listbox id="addressingWidget" style="height: 15em;" onclick="awClickEmptySpace(event.target, true)">
       <listitem class="addressingWidgetItem" allowevents="true">
         <listcell class="addressingWidgetCell">
           <textbox id="addressCol1#1" class="plain textbox-addressingWidget uri-element"
                    type="autocomplete" flex="1"
                    autocompletesearch="addrbook ldap"
                    autocompletesearchparam="{}" timeout="300" maxrows="4"
                    completedefaultindex="true" forcecomplete="true"
+                   completeselectedindex="true"
                    minresultsforpopup="3"
                    ontextentered="awRecipientTextCommand(param, this)"
                    onkeypress="awHandleKeyPress(this, event);"
                    onkeydown="awRecipientKeyDown(event, this);"
                    onclick="awNotAnEmptyArea(event);">
             <image onclick="this.parentNode.select();" class="person-icon"/>
           </textbox>
         </listcell>
--- a/mail/components/addrbook/content/abMailListDialog.xul
+++ b/mail/components/addrbook/content/abMailListDialog.xul
@@ -65,16 +65,17 @@
     <listbox id="addressingWidget" style="height: 15em;" onclick="awClickEmptySpace(event.target, true)">
       <listitem class="addressingWidgetItem" allowevents="true">
         <listcell class="addressingWidgetCell">
           <textbox id="addressCol1#1" class="plain textbox-addressingWidget uri-element"
                    type="autocomplete" flex="1"
                    autocompletesearch="addrbook ldap"
                    autocompletesearchparam="{}" timeout="300" maxrows="4"
                    completedefaultindex="true" forcecomplete="true"
+                   completeselectedindex="true"
                    minresultsforpopup="3"
                    ontextentered="awRecipientTextCommand(param, this)"
                    onkeypress="awHandleKeyPress(this, event);"
                    onkeydown="awRecipientKeyDown(event, this);"
                    onclick="awNotAnEmptyArea(event);">
             <image onclick="this.parentNode.select();" class="person-icon"/>
           </textbox>
         </listcell>
--- a/mail/components/compose/content/messengercompose.xul
+++ b/mail/components/compose/content/messengercompose.xul
@@ -951,16 +951,17 @@
                 <textbox id="addressCol2#1" class="plain textbox-addressingWidget uri-element"
                          aria-labelledby="addressCol1#1"
                          type="autocomplete" flex="1"
                          autocompletesearch="mydomain addrbook ldap news"
                          autocompletesearchparam="{}"
                          timeout="300"
                          maxrows="6"
                          completedefaultindex="true" forcecomplete="true"
+                         completeselectedindex="true"
                          minresultsforpopup="2" ignoreblurwhilesearching="true"
                          ontextentered="awRecipientTextCommand(param, this)"
                          onchange="onRecipientsChanged();"
                          oninput="onRecipientsChanged();"
                          onkeypress="awRecipientKeyPress(event, this)"
                          onkeydown="awRecipientKeyDown(event, this)"
                          disableonsend="true">
                 </textbox>