| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/Helpdesk/theme/js/ |
Upload File : |
$(function () {
$('#add-user-form input').val('');
var x=$('.js-exportable-ordered').DataTable({
paging: false,
searching: false,
stateSave: true,
info: false,
columnDefs: [ {
"searchable": false,
"orderable": false,
"targets": 0
},{
"searchable": false,
"orderable": false,
"targets" : "no_sort"
} ],
aaSorting: [[ 1, "asc" ]],
dom: 'Blfrtip',
});
x.on( 'order.dt search.dt', function () {
x.column(0, {search:'applied', order:'applied'}).nodes().each( function (cell, i) {
cell.innerHTML = i+1;
x.cell(cell).invalidate('dom');
} );
} ).draw();
$('.remove').click('click', function (e) {
e.preventDefault();
var url = $(this).attr("href");
swal({
title: "Επιβεβαίωση Διαγραφής",
text: "Είστε σίγουροι για τη διαγραφή του χρήστη;",
type: "warning",
showCancelButton: true,
cancelButtonText: "Άκυρο",
closeOnConfirm: true
}, function(isConfirm){
if (isConfirm){
$.notifyClose();
window.location = url;
}
});
});
});