CC-6131 - add div to show when search is active; css tweaks
This commit is contained in:
parent
888762739e
commit
c928627d8b
4 changed files with 39 additions and 9 deletions
|
@ -712,9 +712,18 @@ var AIRTIME = (function(AIRTIME) {
|
|||
"error": handleAjaxError
|
||||
}).done(function(data) {
|
||||
if (data.iTotalRecords > data.iTotalDisplayRecords) {
|
||||
$('#filter_message').text(
|
||||
$.i18n._("Filtering out ") + (data.iTotalRecords - data.iTotalDisplayRecords)
|
||||
+ $.i18n._(" of ") + data.iTotalRecords
|
||||
+ $.i18n._(" records")
|
||||
);
|
||||
$('#library_empty').hide();
|
||||
$('#library_display').find('tr:has(td.dataTables_empty)').show();
|
||||
} else {
|
||||
$('#filter_message').text("");
|
||||
}
|
||||
$('#library_content').find('.dataTables_filter input[type="text"]')
|
||||
.css('padding-right', $('#advanced-options').find('button').outerWidth());
|
||||
});
|
||||
},
|
||||
"fnRowCallback": AIRTIME.library.fnRowCallback,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue