diff options
author | Byron Jones <glob@mozilla.com> | 2015-05-11 15:46:45 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-05-11 15:46:45 +0200 |
commit | 1ad9a822d2aef528dd41605e4f36c044ce083d50 (patch) | |
tree | 44b2518d145b0f8f64caf57d4615a7e1ffe4a0d1 | |
parent | f7515b34de496db83c3be9a8ff607b1e1fa9ca03 (diff) | |
download | bugzilla-1ad9a822d2aef528dd41605e4f36c044ce083d50.tar.gz bugzilla-1ad9a822d2aef528dd41605e4f36c044ce083d50.tar.xz |
Bug 1163575: Intermittent error prevents ProductDashboard from working
-rw-r--r-- | extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl b/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl index c8d3111fa..3a01f879f 100644 --- a/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl +++ b/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl @@ -30,17 +30,7 @@ [% javascript_urls.push("extensions/ProductDashboard/web/js/roadmap.js") %] [% END %] -[% filtered_product = product.name FILTER html %] -[% PROCESS global/header.html.tmpl - title = "Product Dashboard: $filtered_product" - generate_api_token = 1 - style_urls = [ "skins/standard/buglist.css", - "js/yui/assets/skins/sam/paginator.css", - "extensions/ProductDashboard/web/styles/productdashboard.css" ] -%] - -<script type="text/javascript"> -<!-- +[% js = BLOCK %] PD = {}; [%# Set up severities list for proper sorting %] PD.severities = new Array(); @@ -49,8 +39,17 @@ PD.severities['[% s FILTER js %]'] = [% sort_count FILTER js %]; [% sort_count = sort_count + 1 %] [% END %] ---> -</script> +[% END %] + +[% filtered_product = product.name FILTER html %] +[% PROCESS global/header.html.tmpl + title = "Product Dashboard: $filtered_product" + generate_api_token = 1 + javascript = js + style_urls = [ "skins/standard/buglist.css", + "js/yui/assets/skins/sam/paginator.css", + "extensions/ProductDashboard/web/styles/productdashboard.css" ] +%] [% url_filtered_product = product.name FILTER uri %] [% url_filtered_status = bug_status FILTER uri %] |