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 257076 aac05e8ce3ec646d64cd2891257fd7ddedcfe168
parent 257018 0e269a1f1beb284a630f1a8ca92c05254333f6f1
child 257077 6bc3294250068461a9b75aa80be422beffc3622a
push id29205
push userkwierso@gmail.com
push dateMon, 10 Aug 2015 21:50:25 +0000
treeherdermozilla-central@ddb29452ced0 [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>