Bug 1343238 - Dropdown for setting default addressbook directory should be focused after accesskey used. r=aceman
authorSebastian Hengst <archaeopteryx@coole-files.de>
Tue, 28 Feb 2017 16:27:39 +0100
changeset 27710 d5445bc2de975968c8beeb7cd1ec1a1633b201d3
parent 27709 12954899022214532ab4d38d4054c4936411b2a5
child 27711 8aa38511b468ae26a1d3d7213a250fd77516bd9c
push idunknown
push userunknown
push dateunknown
reviewersaceman
bugs1343238
Bug 1343238 - Dropdown for setting default addressbook directory should be focused after accesskey used. r=aceman MozReview-Commit-ID: DTE40igJZgh
mail/components/preferences/compose.xul
--- a/mail/components/preferences/compose.xul
+++ b/mail/components/preferences/compose.xul
@@ -216,17 +216,18 @@
                         preference="mail.collect_addressbook"
                         aria-labelledby="emailCollectionOutgoing">
                 <menupopup id="abPopup-menupopup" class="addrbooksPopup"
                            localonly="true" writable="true"/>
               </menulist>
             </hbox>
 
            <hbox align="center" pack="start">
-             <label value="&showAsDefault.label;" accesskey="&showAsDefault.accesskey;"/>
+             <label value="&showAsDefault.label;" accesskey="&showAsDefault.accesskey;"
+                    control="defaultStartupDirList"/>
              <menulist id="defaultStartupDirList" flex="1"
                        oncommand="gComposePane.setDefaultStartupDir(this.value);">
                <menupopup class="addrbooksPopup"
                           none="&showAsDefaultLast.label;"
                           alladdressbooks="true"
                           mailinglists="true"/>
              </menulist>
            </hbox>