Bug 1192606 - In the Applications in-content preferences, fix the Ctrl/Cmd+f and Ctrl/Cmd+k keys to focus the search box, r=gijs
authorSteffen Wilberg <steffen.wilberg@web.de>
Sun, 09 Aug 2015 12:22:29 +0200
changeset 289675 aac05e8ce3ec646d64cd2891257fd7ddedcfe168
parent 288668 0e269a1f1beb284a630f1a8ca92c05254333f6f1
child 289676 6bc3294250068461a9b75aa80be422beffc3622a
push id5245
push userraliiev@mozilla.com
push dateThu, 29 Oct 2015 11:30:51 +0000
treeherdermozilla-beta@dac831dc1bd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgijs
bugs1192606
milestone42.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 1192606 - In the Applications in-content preferences, fix the Ctrl/Cmd+f and Ctrl/Cmd+k keys to focus the search box, r=gijs
browser/components/preferences/in-content/applications.xul
--- a/browser/components/preferences/in-content/applications.xul
+++ b/browser/components/preferences/in-content/applications.xul
@@ -48,18 +48,18 @@
               type="string"/>
 
   <preference id="pref.downloads.disable_button.edit_actions"
               name="pref.downloads.disable_button.edit_actions"
               type="bool"/>
 </preferences>
 
 <keyset>
-  <key key="&focusSearch1.key;" modifiers="accel" id="focusSearch1"/>
-  <key key="&focusSearch2.key;" modifiers="accel" id="focusSearch2"/>
+  <key key="&focusSearch1.key;" modifiers="accel" id="focusSearch1" oncommand=";"/>
+  <key key="&focusSearch2.key;" modifiers="accel" id="focusSearch2" oncommand=";"/>
 </keyset>
 
 <hbox id="header-application"
       class="header"
       hidden="true"
       data-category="paneApplications">
   <label class="header-name">&paneApplications.title;</label>
 </hbox>