From 1e95913315c21a2ce181007d66294c5f1f975038 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Fri, 21 Dec 2012 17:13:17 -0500 Subject: - Converted several pages to use the new ProdCompSearch extension - Other MyDashboard improvements/fixes --- .../en/default/global/choose-product.html.tmpl | 22 ++++++++++++++++------ .../template/en/default/global/header.html.tmpl | 1 + 2 files changed, 17 insertions(+), 6 deletions(-) (limited to 'extensions/BMO/template') 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 b9cd02cfc..c185989d1 100644 --- a/extensions/BMO/template/en/default/global/choose-product.html.tmpl +++ b/extensions/BMO/template/en/default/global/choose-product.html.tmpl @@ -39,11 +39,9 @@ [% h2 = "Which product would you like to have described?" %] [% END %] -[% yui = [ 'autocomplete' ] %] -[% javascript_urls = [ "js/field.js", "js/create_bug.js", - "extensions/BMO/web/js/prod_comp_search.js" ] %] -[% onload = "YAHOO.util.Dom.get('prod_comp_search').focus();" %] -[% style_urls.push("extensions/BMO/web/styles/prod_comp_search.css") %] +[% javascript_urls = [ "extensions/ProdCompSearch/web/js/prod_comp_search.js" ] %] +[% onload = "document.getElementById('prod_comp_search').focus();" %] +[% style_urls.push("extensions/ProdCompSearch/web/styles/prod_comp_search.css") %] [% DEFAULT title = "Choose a Product" %] [% PROCESS global/header.html.tmpl %] @@ -60,7 +58,19 @@

[% h2 FILTER html %]

-[% PROCESS "global/prod-comp-search.html.tmpl" %] + +
+ [% PROCESS prodcompsearch/form.html.tmpl + input_label = "Type to find product and component by name or description:" + %] +

or choose from the following selections

diff --git a/extensions/BMO/template/en/default/global/header.html.tmpl b/extensions/BMO/template/en/default/global/header.html.tmpl index c2e3de08c..0ef406e7c 100644 --- a/extensions/BMO/template/en/default/global/header.html.tmpl +++ b/extensions/BMO/template/en/default/global/header.html.tmpl @@ -78,6 +78,7 @@ [% SET starting_js_urls = [ "js/yui/yahoo-dom-event/yahoo-dom-event.js", "js/yui/cookie/cookie-min.js", + "js/yui3/yui/yui-min.js" ] %] -- cgit v1.2.3-24-g4f1b