|
|
@ -194,7 +194,7 @@
|
|
|
|
],
|
|
|
|
],
|
|
|
|
"aaSorting": [[1, 'asc']],
|
|
|
|
"aaSorting": [[1, 'asc']],
|
|
|
|
"fnCreatedRow": function( nRow, aData, iDataIndex ) {
|
|
|
|
"fnCreatedRow": function( nRow, aData, iDataIndex ) {
|
|
|
|
$(nRow).addClass(aData["SeriesId"].toString());
|
|
|
|
$(nRow).attr('data-series-id', aData["SeriesId"].toString());
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
|
|
|
|
"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
|
|
|
|
var element = $(nRow).find('.progressBar');
|
|
|
|
var element = $(nRow).find('.progressBar');
|
|
|
@ -214,7 +214,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
//After we delete a series do this...
|
|
|
|
//After we delete a series do this...
|
|
|
|
function afterDelete(seriesId) {
|
|
|
|
function afterDelete(seriesId) {
|
|
|
|
var row = $('.' + seriesId);
|
|
|
|
var row = $('[data-series-id="' + seriesId + '"]');
|
|
|
|
|
|
|
|
|
|
|
|
if ($(row).hasClass('details-opened')) {
|
|
|
|
if ($(row).hasClass('details-opened')) {
|
|
|
|
var nextRow = $(row).next('tr');
|
|
|
|
var nextRow = $(row).next('tr');
|
|
|
|