diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-12-21 23:13:17 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-12-21 23:13:17 +0100 |
commit | 1e95913315c21a2ce181007d66294c5f1f975038 (patch) | |
tree | bd8424a67bed0a121478603999d44ee3cf63ce44 /extensions/GuidedBugEntry | |
parent | 63ed510dfa9ac705d16df4344da5e41fcab6137e (diff) | |
download | bugzilla-1e95913315c21a2ce181007d66294c5f1f975038.tar.gz bugzilla-1e95913315c21a2ce181007d66294c5f1f975038.tar.xz |
- Converted several pages to use the new ProdCompSearch extension
- Other MyDashboard improvements/fixes
Diffstat (limited to 'extensions/GuidedBugEntry')
-rw-r--r-- | extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl b/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl index 93d036f7b..ddae5443b 100644 --- a/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl +++ b/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl @@ -112,26 +112,24 @@ dupes.setLabels( %] </table> -[% IF BMO %] +[% IF BMO %] <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"> - <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> + [% PROCESS prodcompsearch/form.html.tmpl + input_label = "Type to find product and component by name or description:" + %] </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> |