summaryrefslogtreecommitdiffstats
path: root/extensions/GuidedBugEntry/template/en
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-06-13 18:47:03 +0200
committerDave Lawrence <dlawrence@mozilla.com>2012-06-13 18:47:03 +0200
commit9b288d52c3b8ecdb932f7e0266e7c5bcedae4210 (patch)
tree4dc75db647ba96b20c17b40edd801ca9a78b2760 /extensions/GuidedBugEntry/template/en
parent6d75beffb9d1667aacc233c359fb296e26aac871 (diff)
downloadbugzilla-9b288d52c3b8ecdb932f7e0266e7c5bcedae4210.tar.gz
bugzilla-9b288d52c3b8ecdb932f7e0266e7c5bcedae4210.tar.xz
Focus product/component search field on page load for choose-product and guided entry
Diffstat (limited to 'extensions/GuidedBugEntry/template/en')
-rw-r--r--extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl b/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl
index ef00477cd..fc0a1321e 100644
--- a/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl
+++ b/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl
@@ -15,6 +15,10 @@
[% yui_modules = [ 'history', 'datatable', 'container' ] %]
[% yui_modules.push('autocomplete') IF BMO %]
+[% IF BMO %]
+ [% onload = "YAHOO.util.Dom.get('prod_comp_search').focus();" %]
+[% END %]
+
[% PROCESS global/header.html.tmpl
title = "Enter A Bug"
javascript_urls = js_urls