|
Lines 574-580
$(document).ready(function() {
Link Here
|
| 574 |
} ); |
574 |
} ); |
| 575 |
}, |
575 |
}, |
| 576 |
"rowGroup":{ |
576 |
"rowGroup":{ |
| 577 |
"dataSrc": "issuedate" |
577 |
"dataSrc": "issued_today", |
|
|
578 |
"startRender": function ( rows, group ) { |
| 579 |
if ( group ) { |
| 580 |
return $('<tr/>').append("<td colspan='100%'><strong>" + TODAYS_CHECKOUTS + "</strong></td>"); |
| 581 |
} else { |
| 582 |
return $('<tr/>').append("<td colspan='100%'><strong>" + PREVIOUS_CHECKOUTS + "</strong></td>"); |
| 583 |
} |
| 584 |
} |
| 578 |
}, |
585 |
}, |
| 579 |
"fnInitComplete": function(oSettings, json) { |
586 |
"fnInitComplete": function(oSettings, json) { |
| 580 |
// Disable rowGrouping plugin after first use |
587 |
// Disable rowGrouping plugin after first use |
|
Lines 600-606
$(document).ready(function() {
Link Here
|
| 600 |
.insertBefore(oSettings.nTableWrapper) |
607 |
.insertBefore(oSettings.nTableWrapper) |
| 601 |
}, |
608 |
}, |
| 602 |
}, columns_settings_issues_table); |
609 |
}, columns_settings_issues_table); |
| 603 |
console.log("issuesTable loaded"); |
|
|
| 604 |
|
610 |
|
| 605 |
if ( $("#issues-table").length ) { |
611 |
if ( $("#issues-table").length ) { |
| 606 |
$("#issues-table_processing").position({ |
612 |
$("#issues-table_processing").position({ |
| 607 |
- |
|
|