diff options
author | Byron Jones <bjones@mozilla.com> | 2012-09-25 18:44:05 +0200 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2012-09-25 18:44:05 +0200 |
commit | ab3f78e604daeac028552a63e53eccec9084ddb9 (patch) | |
tree | d361fb78c57980c74407caac83b0ae9262eb0c40 /extensions/GuidedBugEntry/template | |
parent | af0fdde1cf4a00c769efcdb02ea091b2715edbe6 (diff) | |
download | bugzilla-ab3f78e604daeac028552a63e53eccec9084ddb9.tar.gz bugzilla-ab3f78e604daeac028552a63e53eccec9084ddb9.tar.xz |
Bug 794080: guided bug entry throws a "cannot focus invisible element" error on IE8
Diffstat (limited to 'extensions/GuidedBugEntry/template')
-rw-r--r-- | extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl | 50 |
1 files changed, 23 insertions, 27 deletions
diff --git a/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl b/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl index ee5bea892..93d036f7b 100644 --- a/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl +++ b/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl @@ -4,6 +4,7 @@ # # This Source Code Form is "Incompatible With Secondary Licenses", as # defined by the Mozilla Public License, v. 2.0. + #%] [% PROCESS global/variables.none.tmpl %] @@ -15,10 +16,6 @@ [% 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 @@ -115,6 +112,28 @@ dupes.setLabels( %] </table> +[% IF BMO %] + <h3> + Or search for a Product: + </h3> + + <div id="prod_comp_search_main"> + <div id="prod_comp_search_autocomplete"> + <div id="prod_comp_search_label"> + Type to find product and component by name or description: + <img id="prod_comp_throbber" src="extensions/GuidedBugEntry/web/images/throbber.gif" + class="hidden" width="16" height="11"> + </div> + <input id="prod_comp_search" type="text" size="60"> + <div id="prod_comp_search_autocomplete_container"></div> + </div> + </div> + <script type="text/javascript"> + if (typeof(YAHOO.bugzilla.prodCompSearch) !== 'undefined' && YAHOO.bugzilla.prodCompSearch != null) + YAHOO.bugzilla.prodCompSearch.init('prod_comp_search', 'prod_comp_search_autocomplete_container', 'guided'); + </script> +[% END %] + </div> [% END %] @@ -260,29 +279,6 @@ dupes.setLabels( <h3> None of the above; my [% terms.bug %] is in: </h3> - -[% IF BMO %] - <div id="prod_comp_search_main"> - <div id="prod_comp_search_autocomplete"> - <div id="prod_comp_search_label"> - Type to find product and component by name or description: - <img id="prod_comp_throbber" src="extensions/GuidedBugEntry/web/images/throbber.gif" - class="hidden" width="16" height="11"> - </div> - <input id="prod_comp_search" type="text" size="60"> - <div id="prod_comp_search_autocomplete_container"></div> - </div> - </div> - <script type="text/javascript"> - if (typeof(YAHOO.bugzilla.prodCompSearch) !== 'undefined' && YAHOO.bugzilla.prodCompSearch != null) - YAHOO.bugzilla.prodCompSearch.init('prod_comp_search', 'prod_comp_search_autocomplete_container', 'guided'); - </script> - - <h3> - Or select a product: - </h3> -[% END %] - [% END %] [% BLOCK exit_block %] |