summaryrefslogtreecommitdiffstats
path: root/extensions/ProductDashboard/template/en/default/pages/productdashboard/components.html.tmpl
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-08-17 00:40:48 +0200
committerDave Lawrence <dlawrence@mozilla.com>2012-08-17 00:40:48 +0200
commitba8c5fd18435d986cc0ac3c44fcc9799b76e8b64 (patch)
tree8eb3b66289c3b898a5acf4ab9fd7ed3180d931d0 /extensions/ProductDashboard/template/en/default/pages/productdashboard/components.html.tmpl
parent328096fd79dae7bfa690323d3e7459897679bd22 (diff)
downloadbugzilla-ba8c5fd18435d986cc0ac3c44fcc9799b76e8b64.tar.gz
bugzilla-ba8c5fd18435d986cc0ac3c44fcc9799b76e8b64.tar.xz
More dashboard tweaks/fixes
Diffstat (limited to 'extensions/ProductDashboard/template/en/default/pages/productdashboard/components.html.tmpl')
-rw-r--r--extensions/ProductDashboard/template/en/default/pages/productdashboard/components.html.tmpl15
1 files changed, 9 insertions, 6 deletions
diff --git a/extensions/ProductDashboard/template/en/default/pages/productdashboard/components.html.tmpl b/extensions/ProductDashboard/template/en/default/pages/productdashboard/components.html.tmpl
index 0b8bd34c7..7cf60c245 100644
--- a/extensions/ProductDashboard/template/en/default/pages/productdashboard/components.html.tmpl
+++ b/extensions/ProductDashboard/template/en/default/pages/productdashboard/components.html.tmpl
@@ -118,9 +118,6 @@
<script type="text/javascript">
<!--
- PD.options = {
- paginator: new YAHOO.widget.Paginator({ rowsPerPage: 25, alwaysVisible: false })
- };
PD.column_defs = [
{ key:"name", label:"Name", sortable:true },
{ key:"count", label:"Count", sortable:true },
@@ -133,9 +130,15 @@
{ key:"percentage" },
{ key:"bug_list" }
];
- PD.addStatListener("component_counts", "component_counts_table", PD.column_defs, PD.fields, PD.options);
- PD.addStatListener("version_counts", "version_counts_table", PD.column_defs, PD.fields, PD.options);
- PD.addStatListener("milestone_counts", "milestone_counts_table", PD.column_defs, PD.fields, PD.options);
+ PD.addStatListener("component_counts", "component_counts_table",
+ PD.column_defs, PD.fields,
+ { paginator: new YAHOO.widget.Paginator({ rowsPerPage: 25, alwaysVisible: false }) });
+ PD.addStatListener("version_counts", "version_counts_table",
+ PD.column_defs, PD.fields,
+ { paginator: new YAHOO.widget.Paginator({ rowsPerPage: 25, alwaysVisible: false }) });
+ PD.addStatListener("milestone_counts", "milestone_counts_table",
+ PD.column_defs, PD.fields,
+ { paginator: new YAHOO.widget.Paginator({ rowsPerPage: 25, alwaysVisible: false }) });
-->
</script>