Revision fb9d96e9 snf-astakos-app/astakos/im/static/im/js/common.js
b/snf-astakos-app/astakos/im/static/im/js/common.js | ||
---|---|---|
1 |
function setContainerMinHeight( applicableDiv){
|
|
2 |
|
|
3 |
if ( $(applicableDiv).length > 0 ) {
|
|
1 |
function setContainerMinHeight(applicableDiv) {
|
|
2 |
|
|
3 |
if ($(applicableDiv).length > 0) {
|
|
4 | 4 |
//var h = $('.header').height(); div.header is not found |
5 | 5 |
var f = $('.footer').height(); |
6 | 6 |
var w = $(window).height(); |
... | ... | |
116 | 116 |
tableEl.dataTable({ |
117 | 117 |
"bFilter": bFilter, |
118 | 118 |
"iDisplayLength": iDisplayLength, |
119 |
"bLengthChange": false, |
|
119 |
"bLengthChange": true, |
|
120 |
"sDom": '<"top">frt<"clearfix"i><"bottom"pl>', |
|
121 |
"bStateSave": true, |
|
120 | 122 |
"aoColumnDefs": [ |
121 | 123 |
{ "sType": "num-html", "aTargets": numHTMLArr }, |
122 | 124 |
{ "sType": "date-uk", "aTargets": dateArr }, |
... | ... | |
486 | 488 |
}) |
487 | 489 |
|
488 | 490 |
tableSort($('.projects-intro').siblings('table#projects-list'), 10, true ); |
489 |
tableSort($('.search-projects').siblings('table#projects-list'), 20, false);
|
|
491 |
tableSort($('.search-projects').siblings('table#projects-list'), 20, true);
|
|
490 | 492 |
tableSort($('#members-table'), 10, true); |
491 | 493 |
|
492 | 494 |
}); |
Also available in: Unified diff