diff options
author | Byron Jones <bjones@mozilla.com> | 2013-02-20 16:25:26 +0100 |
---|---|---|
committer | Byron Jones <bjones@mozilla.com> | 2013-02-20 16:25:26 +0100 |
commit | 833097e42a771e6c74ad9eb495f44c23f5f28e21 (patch) | |
tree | 83e0bba2b71a070c1170e90cb12cf81e60fbc682 /extensions/GuidedBugEntry/template/en/default | |
parent | a9a05ae6835803e4f9ef7cbf310c763fabd8d730 (diff) | |
download | bugzilla-833097e42a771e6c74ad9eb495f44c23f5f28e21.tar.gz bugzilla-833097e42a771e6c74ad9eb495f44c23f5f28e21.tar.xz |
fix "use of undefined" value in guided bug entry, and some minor fixups
Diffstat (limited to 'extensions/GuidedBugEntry/template/en/default')
-rw-r--r-- | extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl | 39 |
1 files changed, 18 insertions, 21 deletions
diff --git a/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl b/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl index 0d7434188..e462eb601 100644 --- a/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl +++ b/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl @@ -12,10 +12,9 @@ 'extensions/GuidedBugEntry/web/js/guided.js', 'extensions/ProdCompSearch/web/js/prod_comp_search.js', 'js/field.js', 'js/TUI.js', 'js/bug.js' ] %] -[% js_urls.push('extensions/BMO/web/js/prod_comp_search.js') IF BMO %] [% yui_modules = [ 'history', 'datatable', 'container' ] %] -[% yui_modules.push('autocomplete') IF BMO %] +[% yui_modules.push('autocomplete') %] [% PROCESS global/header.html.tmpl title = "Enter A Bug" @@ -113,25 +112,23 @@ dupes.setLabels( %] </table> -[% IF BMO %] - <h3> - Or search for a Product: - </h3> +<h3> + Or search for a Product: +</h3> - <script> - [% IF format %] - ProdCompsearch.format = '[% format FILTER js %]'; - [% END %] - [% IF cloned_bug_id %] - ProdCompSearch.cloned_bug_id = '[% cloned_bug_id FILTER js %]'; - [% END %] - </script> - <div id="prod_comp_search_main"> - [% PROCESS prodcompsearch/form.html.tmpl - input_label = "Type to find product and component by name or description:" - %] - </div> -[% END %] +<script> + [% IF format %] + ProdCompsearch.format = '[% format FILTER js %]'; + [% END %] + [% IF cloned_bug_id %] + ProdCompSearch.cloned_bug_id = '[% cloned_bug_id FILTER js %]'; + [% END %] +</script> +<div id="prod_comp_search_main"> + [% PROCESS prodcompsearch/form.html.tmpl + input_label = "Type to find product and component by name or description:" + %] +</div> </div> [% END %] @@ -271,7 +268,7 @@ dupes.setLabels( <td width="100%"> • <a href="http://input.mozilla.org/feedback/">Provide other feedback about Firefox</a><br> • <a href="http://input.mozilla.org/feedback/#sad">Report an issue with a web site that I use</a><br> - • <a href="enter_bug.cgi?format=guided&product=Core">Report an issue with Firefox on a site that I've developed</a><br> + • <a href="enter_bug.cgi?format=guided&product=Core">Report an issue with Firefox on a site that I've developed</a><br> </td> </tr> </table> |