mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
System Config grid now uses DataTables.
This commit is contained in:
parent
4225685715
commit
463ab0812e
9 changed files with 3146 additions and 98 deletions
|
@ -10,6 +10,8 @@ $('.seriesTable a, .dataTable a').live('click', function (event) {
|
|||
});
|
||||
|
||||
$('.seriesTable .data-row td:not(:last-child)').live('click', function () {
|
||||
if ($(this).closest('table').hasClass('no-details'))
|
||||
return;
|
||||
$(this).parent('tr').next('.detail-row').toggle();
|
||||
});
|
||||
|
||||
|
@ -22,6 +24,9 @@ function grid_onError(e) {
|
|||
var oTable;
|
||||
|
||||
$('.dataTable td:not(:last-child)').live('click', function () {
|
||||
if ($(this).closest('table').hasClass('no-details'))
|
||||
return;
|
||||
|
||||
var nTr = this.parentNode;
|
||||
|
||||
if ($(nTr).hasClass('details-opened')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue