Penambahan Fitur Schedule
This commit is contained in:
@@ -65,6 +65,28 @@ function salinKeClipboard(teks) {
|
||||
});
|
||||
}
|
||||
|
||||
// Kolom checkbox "Selected" yang dinonaktifkan (fitur baru hanya aktif di Belum Verifikasi: tab SK Biasa & Schedule).
|
||||
// Input disabled tidak menerima klik, jadi dibungkus <span> yang menangkap klik lalu menampilkan info.
|
||||
function kolomPilihSkNonaktif() {
|
||||
return {
|
||||
data: null,
|
||||
name: 'pilih',
|
||||
className: 'text-center col-pilih',
|
||||
orderable: false,
|
||||
searchable: false,
|
||||
width: '40px',
|
||||
render: function() {
|
||||
return '<span class="pilih-sk-nonaktif d-inline-block" style="cursor: not-allowed;">' +
|
||||
'<input type="checkbox" class="form-check-input" disabled style="pointer-events: none;"></span>';
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
$(document).on('click', '.pilih-sk-nonaktif', function(e) {
|
||||
e.stopPropagation();
|
||||
showInfo('Info', 'Fitur Selected Segera Hadir');
|
||||
});
|
||||
|
||||
$(document).on('click', '.btn-salin', function() {
|
||||
var teks = $(this).attr('data-salin') || '';
|
||||
var label = $(this).data('label');
|
||||
|
||||
Reference in New Issue
Block a user