Bug 601908 - [VKB] Software Keyboard remains popped up in add-ons manager [r=mfinkle]
authorVivien Nicolas <21@vingtetun.org>
Fri, 08 Oct 2010 19:26:48 +0200
changeset 66805 bf34a9f61fea1f67fe5e9ff221f9a0a215850167
parent 66804 0c8d59f276bdfa4d661779f1abad0b1ff41563d6
child 66806 e11c0282bc2f0bd0a6bb198834f848c15fb12865
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmfinkle
bugs601908
Bug 601908 - [VKB] Software Keyboard remains popped up in add-ons manager [r=mfinkle]
mobile/chrome/content/browser.xul
--- a/mobile/chrome/content/browser.xul
+++ b/mobile/chrome/content/browser.xul
@@ -394,17 +394,17 @@
                   <label value="&addonsLocal.label;" flex="1"/>
                   <spacer flex="1"/>
                   <button id="addons-update-all" label="&addonsUpdate.label;" hidden="true"
                           oncommand="ExtensionsView.updateAll();"/>
                 </richlistitem>
                 <richlistitem id="addons-repo" class="section-header" nohighlight="true">
                   <label value="&addonsRepo.label;" flex="1"/>
                   <textbox id="addons-search-text" emptytext="&addonsSearch2.emptytext;" type="search" searchbutton="false"
-                           oncommand="ExtensionsView.getAddonsFromRepo(this.value);"/>
+                           oncommand="ExtensionsView.getAddonsFromRepo(this.value);" onkeypress="if (event.keyCode == event.DOM_VK_RETURN) this.blur();"/>
                 </richlistitem>
               </richlistbox>
             </notificationbox>
           </vbox>
 
           <vbox id="downloads-container" flex="1">
             <richlistbox id="downloads-list" flex="1" onselect="this.ensureSelectedElementIsVisible()">
               <label id="downloads-list-header" class="panel-header" value="&downloadsHeader.label;"/>