mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
Added an option to the paginated display: display all elements on one page.
SVN:trunk[1374]
This commit is contained in:
@@ -15,6 +15,10 @@ function sprintf(format, etc) {
|
||||
|
||||
function setPageSize(table,size) {
|
||||
var c = table.config;
|
||||
if (size == -1)
|
||||
{
|
||||
size = c.totalRows;
|
||||
}
|
||||
c.size = size;
|
||||
c.totalPages = Math.ceil(c.totalRows / c.size);
|
||||
c.pagerPositionSet = false;
|
||||
|
||||
Reference in New Issue
Block a user