Bug 1499240 - Fix failing test by listening for input event instead of command event. r=jorgk
authorGeoff Lankow <geoff@darktrojan.net>
Wed, 17 Oct 2018 00:07:38 +1300
changeset 33579 1f384411c0acacf6976d8f0b3bcd76e45073a230
parent 33578 d1b189ce3732f9d43d8c97515134f729fdd05751
child 33580 791655b497565f14c45f99ecebf23770fee3f22c
push id388
push userclokep@gmail.com
push dateMon, 28 Jan 2019 20:54:56 +0000
reviewersjorgk
bugs1499240
Bug 1499240 - Fix failing test by listening for input event instead of command event. r=jorgk
mailnews/base/content/subscribe.xul
--- a/mailnews/base/content/subscribe.xul
+++ b/mailnews/base/content/subscribe.xul
@@ -58,17 +58,17 @@
                            oncommand="onServerClick(event.target._folder);"/>
               </menulist>
             </row>
             <row align="center">
               <label value="&namefield.label;" accesskey="&namefield.accesskey;"
                      id="namefieldlabel" control="namefield"/>
               <textbox id="namefield" flex="1" type="search" timeout="300"
                        aria-controls="subscribeTree"
-                       oncommand="Search();"/>
+                       oninput="Search();"/>
             </row>
           </rows>
         </grid>
         <spacer/>
       </row>
       <row>
         <separator class="thin"/>
         <spacer/>