From 080208aa7bf1c182429c2367c6d6744c246ecacb Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Tue, 9 Apr 2013 12:00:57 -0400 Subject: Bug 852279 - Bug pages no longer added to bfcache due to unload listener on Window r=glob --- .../en/default/global/choose-product.html.tmpl | 4 +- .../template/en/default/global/header.html.tmpl | 1 - .../hook/bug/edit-after_importance.html.tmpl | 91 ++++++++++++++-------- .../template/en/default/guided/guided.html.tmpl | 3 +- .../en/default/pages/mydashboard.html.tmpl | 3 +- .../en/default/pages/prodcompsearch.html.tmpl | 3 +- .../en/default/pages/productdashboard.html.tmpl | 5 +- 7 files changed, 70 insertions(+), 40 deletions(-) (limited to 'extensions') 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 f7ff82a6e..38a43cd12 100644 --- a/extensions/BMO/template/en/default/global/choose-product.html.tmpl +++ b/extensions/BMO/template/en/default/global/choose-product.html.tmpl @@ -39,7 +39,9 @@ [% h2 = "Which product would you like to have described?" %] [% END %] -[% javascript_urls = [ "extensions/ProdCompSearch/web/js/prod_comp_search.js" ] %] +[% javascript_urls = [ "js/yui3/yui/yui-min.js", + "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") %] diff --git a/extensions/BMO/template/en/default/global/header.html.tmpl b/extensions/BMO/template/en/default/global/header.html.tmpl index 8112430a2..6aaac9411 100644 --- a/extensions/BMO/template/en/default/global/header.html.tmpl +++ b/extensions/BMO/template/en/default/global/header.html.tmpl @@ -78,7 +78,6 @@ [% 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" ] %] diff --git a/extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl b/extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl index c177015f1..f3eebafd3 100644 --- a/extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl +++ b/extensions/BMO/template/en/default/hook/bug/edit-after_importance.html.tmpl @@ -8,47 +8,70 @@ [%# Display product and component descriptions after their respective fields %] diff --git a/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl b/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl index 271055e0c..849df4c47 100644 --- a/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl +++ b/extensions/GuidedBugEntry/template/en/default/guided/guided.html.tmpl @@ -8,7 +8,8 @@ [% PROCESS global/variables.none.tmpl %] -[% js_urls = [ 'extensions/GuidedBugEntry/web/js/products.js', +[% js_urls = [ 'js/yui3/yui/yui-min.js', + 'extensions/GuidedBugEntry/web/js/products.js', 'extensions/GuidedBugEntry/web/js/guided.js', 'extensions/ProdCompSearch/web/js/prod_comp_search.js', 'js/field.js', 'js/TUI.js', 'js/bug.js' ] %] diff --git a/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl b/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl index 8b2dfd8bf..8222f6749 100644 --- a/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl +++ b/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl @@ -12,7 +12,8 @@ title = "My Dashboard" style_urls = [ "extensions/MyDashboard/web/styles/mydashboard.css", "extensions/ProdCompSearch/web/styles/prod_comp_search.css" ] - javascript_urls = [ "extensions/MyDashboard/web/js/query.js", + javascript_urls = [ "js/yui3/yui/yui-min.js", + "extensions/MyDashboard/web/js/query.js", "extensions/MyDashboard/web/js/flags.js", "extensions/ProdCompSearch/web/js/prod_comp_search.js" ] %] diff --git a/extensions/ProdCompSearch/template/en/default/pages/prodcompsearch.html.tmpl b/extensions/ProdCompSearch/template/en/default/pages/prodcompsearch.html.tmpl index 649a205db..5b39315b5 100644 --- a/extensions/ProdCompSearch/template/en/default/pages/prodcompsearch.html.tmpl +++ b/extensions/ProdCompSearch/template/en/default/pages/prodcompsearch.html.tmpl @@ -10,7 +10,8 @@ [% PROCESS global/header.html.tmpl title = "File a $terms.Bug" - javascript_urls = [ "extensions/ProdCompSearch/web/js/prod_comp_search.js" ] + javascript_urls = [ "js/yui3/yui/yui-min.js", + "extensions/ProdCompSearch/web/js/prod_comp_search.js" ] style_urls = [ "extensions/ProdCompSearch/web/styles/prod_comp_search.css" ] %] diff --git a/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl b/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl index f48d8f812..82de063aa 100644 --- a/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl +++ b/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl @@ -8,7 +8,10 @@ [% PROCESS global/variables.none.tmpl %] -[% javascript_urls = [ "js/util.js", "js/field.js" ] %] +[% javascript_urls = [ "js/yui3/yui/yui-min.js", + "js/util.js", + "js/field.js" ] +%] [% IF current_tab_name == 'summary' %] [% javascript_urls.push("extensions/ProductDashboard/web/js/summary.js") %] -- cgit v1.2.3-24-g4f1b