includes/clientside/static/paginate.js
changeset 594 738c61b498a6
parent 582 a38876c0793c
child 789 4a8fc835ba02
equal deleted inserted replaced
593:4f9bec0d65c1 594:738c61b498a6
    11  
    11  
    12 var pagin_objects = new Object();
    12 var pagin_objects = new Object();
    13 
    13 
    14 window.paginator = function(data, callback, offset, perpage, passer)
    14 window.paginator = function(data, callback, offset, perpage, passer)
    15 {
    15 {
       
    16   load_component('flyin');
    16   if ( !perpage || typeof(perpage) != 'number' || ( typeof(perpage) == 'number' && perpage < 1 ) )
    17   if ( !perpage || typeof(perpage) != 'number' || ( typeof(perpage) == 'number' && perpage < 1 ) )
    17   {
    18   {
    18     this.perpage = 10;
    19     this.perpage = 10;
    19   }
    20   }
    20   else
    21   else