forked from Github-Mirrors/canaille
16 lines
468 B
JavaScript
16 lines
468 B
JavaScript
$( function () {
|
|
$('table').DataTable({
|
|
"language": {
|
|
"url": "/static/datatables/i18n/" + document.documentElement.lang + ".json"
|
|
}
|
|
});
|
|
|
|
$('.delete-user').click(function(event){
|
|
event.preventDefault();
|
|
var that = this;
|
|
$('.delete-confirmation').unbind('click').click(function(){
|
|
window.location.href = $(that).attr('href');
|
|
});
|
|
$('.ui.basic.modal').modal('show');
|
|
});
|
|
});
|