Revision 8a217fa2 snf-astakos-app/astakos/im/static/im/js/common.js
b/snf-astakos-app/astakos/im/static/im/js/common.js | ||
---|---|---|
444 | 444 |
$('.renew-token a.do').show(); |
445 | 445 |
}) |
446 | 446 |
|
447 |
// control pagination for projects intro page |
|
448 |
$('.projects').siblings("#projects-list") |
|
449 |
.tablesorter({ |
|
450 |
widthFixed: true, |
|
451 |
sortList: [[0,0]], |
|
452 |
}) |
|
453 |
.tablesorterPager({ |
|
454 |
container: $("#pager"), |
|
455 |
size:10, |
|
456 |
positionFixed:false, |
|
457 |
}); |
|
447 |
// control pagination for projects intro page |
|
448 |
$('.search-projects').parents('.projects').find('table#projects-list').dataTable({ |
|
449 |
"iDisplayLength": 20, |
|
450 |
}); |
|
458 | 451 |
|
459 |
// control pagination for find project page |
|
460 |
$('.projects').find("#projects-list") |
|
461 |
.tablesorter({ |
|
462 |
widthFixed: true, |
|
463 |
sortList: [[0,0]], |
|
464 |
}) |
|
465 |
.tablesorterPager({ |
|
466 |
container: $("#pager"), |
|
467 |
size:20, |
|
468 |
positionFixed:false, |
|
469 |
}); |
|
452 |
$('.search-projects').parents('.projects').find('#projects-list_filter').hide(); |
|
453 |
// control pagination for projects intro page |
|
454 |
$('.projects-intro').parents('.projects').siblings('table#projects-list').dataTable({ |
|
455 |
"iDisplayLength": 10, |
|
456 |
}); |
|
470 | 457 |
|
471 | 458 |
}); |
472 | 459 |
|
Also available in: Unified diff