|
|
@ -285,6 +285,7 @@ $.fn.datatables_extended_serverside_paging = function (settings, url, dataFilter
|
|
|
|
$(document).off('click', '.viewEnabledIcon');
|
|
|
|
$(document).off('click', '.viewEnabledIcon');
|
|
|
|
//--- End of EMM related codes
|
|
|
|
//--- End of EMM related codes
|
|
|
|
} else if ($(button).html() == 'Cancel') {
|
|
|
|
} else if ($(button).html() == 'Cancel') {
|
|
|
|
|
|
|
|
$('.bulk-action-row').addClass('hidden');
|
|
|
|
thisTable.removeClass("table-selectable");
|
|
|
|
thisTable.removeClass("table-selectable");
|
|
|
|
$(button).addClass("active").html('Select');
|
|
|
|
$(button).addClass("active").html('Select');
|
|
|
|
$(button).parent().next().children().addClass("disabled");
|
|
|
|
$(button).parent().next().children().addClass("disabled");
|
|
|
@ -322,6 +323,11 @@ $.fn.datatables_extended_serverside_paging = function (settings, url, dataFilter
|
|
|
|
$('body').on('click', '[data-type=selectable]', function () {
|
|
|
|
$('body').on('click', '[data-type=selectable]', function () {
|
|
|
|
var rowSelectedClass = 'DTTT_selected selected';
|
|
|
|
var rowSelectedClass = 'DTTT_selected selected';
|
|
|
|
$(this).toggleClass(rowSelectedClass);
|
|
|
|
$(this).toggleClass(rowSelectedClass);
|
|
|
|
|
|
|
|
if ($('.table-selectable .DTTT_selected').length > 0) {
|
|
|
|
|
|
|
|
$('.bulk-action-row').removeClass('hidden');
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
$('.bulk-action-row').addClass('hidden');
|
|
|
|
|
|
|
|
}
|
|
|
|
var button = this,
|
|
|
|
var button = this,
|
|
|
|
thisTable = $(this).closest('.dataTables_wrapper').find('.dataTable').dataTable();
|
|
|
|
thisTable = $(this).closest('.dataTables_wrapper').find('.dataTable').dataTable();
|
|
|
|
|
|
|
|
|
|
|
|