Refix the Friend Manager pagination. Fixes bug #11965

This commit is contained in:
Colin Kuskie 2011-01-17 11:59:54 -08:00
parent 7c9d0863ef
commit 889b2bc2fd
4 changed files with 7 additions and 1 deletions

View file

@ -1,5 +1,6 @@
7.10.8 7.10.8
- rfe #12016 for the top story as well - rfe #12016 for the top story as well
- fixed #11965: Friend Manager only shows 15 people
7.10.7 7.10.7
- rfe #10521: Use monospaced font in template edit textarea - rfe #10521: Use monospaced font in template edit textarea

View file

@ -1,6 +1,11 @@
This is a running list of template changes made during upgrades. If you have copied the default This is a running list of template changes made during upgrades. If you have copied the default
templates, you will need to apply these changes manually to your copies. templates, you will need to apply these changes manually to your copies.
7.10.8
* Friend Manager view template - root/import/account/friendmanager/view
Add a div to hold the pagination.
7.10.4 7.10.4
* DataForm email template - default_email * DataForm email template - default_email

View file

@ -97,7 +97,7 @@ WebGUI.FriendManager.MakeTable = function (groupId, containerId) {
// Initialize the data table // Initialize the data table
var myPaginator = new YAHOO.widget.Paginator({ var myPaginator = new YAHOO.widget.Paginator({
containers : ['pagination'], containers : [containerId+'_pagination'],
pageLinks : 7, pageLinks : 7,
rowsPerPage : 15, rowsPerPage : 15,
template : "<strong>{CurrentPageReport}</strong> {PreviousPageLink} {PageLinks} {NextPageLink}" template : "<strong>{CurrentPageReport}</strong> {PreviousPageLink} {PageLinks} {NextPageLink}"