summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/BMO/template/en/default/global/choose-product.html.tmpl1
-rw-r--r--extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl4
2 files changed, 5 insertions, 0 deletions
diff --git a/extensions/BMO/template/en/default/global/choose-product.html.tmpl b/extensions/BMO/template/en/default/global/choose-product.html.tmpl
index 6eec58065..9dd2787c3 100644
--- a/extensions/BMO/template/en/default/global/choose-product.html.tmpl
+++ b/extensions/BMO/template/en/default/global/choose-product.html.tmpl
@@ -35,6 +35,7 @@
[% yui = [ 'autocomplete' ] %]
[% javascript_urls = [ "js/field.js", "js/create_bug.js",
"extensions/BMO/web/js/choose_product.js" ] %]
+ [% onload = "YAHOO.util.Dom.get('prod_comp_search').focus();" %]
[% ELSIF target == "describecomponents.cgi" %]
[% title = "Browse" %]
[% h2 = "Please specify the product whose components you want described." %]
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