Bug 897590 - Metro Find bar disappears on keydown [r=ally]
authorMatt Brubeck <mbrubeck@mozilla.com>
Thu, 25 Jul 2013 08:54:22 -0700
changeset 152307 b5c0c3037810e9303bc3186424b0a61cc988aebc
parent 152306 619da1470deababb4ea03111f0595559eaebb65d
child 152308 daeeae8ab22a00c2e947b9b5fdf4d3c7290ae655
push id2859
push userakeybl@mozilla.com
push dateMon, 16 Sep 2013 19:14:59 +0000
treeherdermozilla-beta@87d3c51cd2bf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersally
bugs897590
milestone25.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 897590 - Metro Find bar disappears on keydown [r=ally]
browser/metro/base/content/helperui/FindHelperUI.js
--- a/browser/metro/base/content/helperui/FindHelperUI.js
+++ b/browser/metro/base/content/helperui/FindHelperUI.js
@@ -91,21 +91,23 @@ var FindHelperUI = {
       case "keydown":
         if (aEvent.keyCode == Ci.nsIDOMKeyEvent.DOM_VK_RETURN) {
           if (aEvent.shiftKey) {
             this.goToPrevious();
           } else {
             this.goToNext();
           }
         }
+        break;
 
       case "MozAppbarShowing":
         if (aEvent.target != this._container) {
           this.hide();
         }
+        break;
     }
   },
 
   show: function findHelperShow() {
     if (StartUI.isVisible || this._open)
       return;
 
     // Hide any menus