equal
deleted
inserted
replaced
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 |