summaryrefslogtreecommitdiffstats
path: root/extensions/ProductDashboard/template/en/default/pages/productdashboard/popularity.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/ProductDashboard/template/en/default/pages/productdashboard/popularity.html.tmpl')
-rw-r--r--extensions/ProductDashboard/template/en/default/pages/productdashboard/popularity.html.tmpl7
1 files changed, 3 insertions, 4 deletions
diff --git a/extensions/ProductDashboard/template/en/default/pages/productdashboard/popularity.html.tmpl b/extensions/ProductDashboard/template/en/default/pages/productdashboard/popularity.html.tmpl
index ad0f8eca4..5ecad3426 100644
--- a/extensions/ProductDashboard/template/en/default/pages/productdashboard/popularity.html.tmpl
+++ b/extensions/ProductDashboard/template/en/default/pages/productdashboard/popularity.html.tmpl
@@ -12,9 +12,6 @@
<script type="text/javascript">
<!--
-PD.options = {
- paginator: new YAHOO.widget.Paginator({ rowsPerPage: 25, alwaysVisible: false })
-};
PD.column_defs = [
{ key:"id", label:"ID", sortable:true, sortOptions:{ sortFunction: PD.sortBugIdLinks } },
{ key:"count", label:"Count", sortable:true },
@@ -33,7 +30,9 @@ PD.fields = [
{ key:"bug_severity" },
{ key:"Summary" }
];
-PD.addStatListener("popularity_counts", "popularity_counts_table", PD.column_defs, PD.fields, PD.options);
+PD.addStatListener("popularity_counts", "popularity_counts_table",
+ PD.column_defs, PD.fields,
+ { paginator: new YAHOO.widget.Paginator({ rowsPerPage: 25, alwaysVisible: false }) });
-->
</script>