diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-08-17 00:40:48 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-08-17 00:40:48 +0200 |
commit | ba8c5fd18435d986cc0ac3c44fcc9799b76e8b64 (patch) | |
tree | 8eb3b66289c3b898a5acf4ab9fd7ed3180d931d0 /extensions/ProductDashboard/template/en/default/pages/productdashboard/recents.html.tmpl | |
parent | 328096fd79dae7bfa690323d3e7459897679bd22 (diff) | |
download | bugzilla-ba8c5fd18435d986cc0ac3c44fcc9799b76e8b64.tar.gz bugzilla-ba8c5fd18435d986cc0ac3c44fcc9799b76e8b64.tar.xz |
More dashboard tweaks/fixes
Diffstat (limited to 'extensions/ProductDashboard/template/en/default/pages/productdashboard/recents.html.tmpl')
-rw-r--r-- | extensions/ProductDashboard/template/en/default/pages/productdashboard/recents.html.tmpl | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/extensions/ProductDashboard/template/en/default/pages/productdashboard/recents.html.tmpl b/extensions/ProductDashboard/template/en/default/pages/productdashboard/recents.html.tmpl index c08e298c8..919a7da97 100644 --- a/extensions/ProductDashboard/template/en/default/pages/productdashboard/recents.html.tmpl +++ b/extensions/ProductDashboard/template/en/default/pages/productdashboard/recents.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:"bug_status", label:"Status", sortable:true }, @@ -31,8 +28,13 @@ PD.fields = [ { key:"bug_severity" }, { key:"Summary" } ]; -PD.addStatListener("recently_opened", "recently_opened_table", PD.column_defs, PD.fields, PD.options); -PD.addStatListener("recently_closed", "recently_closed_table", PD.column_defs, PD.fields, PD.options); +PD.addStatListener("recently_opened", "recently_opened_table", + PD.column_defs, PD.fields, + { paginator: new YAHOO.widget.Paginator({ rowsPerPage: 25, alwaysVisible: false }) }); + +PD.addStatListener("recently_closed", "recently_closed_table", + PD.column_defs, PD.fields, + { paginator: new YAHOO.widget.Paginator({ rowsPerPage: 25, alwaysVisible: false }) }); --> </script> |