summaryrefslogtreecommitdiffstats
path: root/extensions/BMO
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/BMO
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/BMO')
-rw-r--r--extensions/BMO/template/en/default/global/choose-product.html.tmpl1
1 files changed, 1 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." %]