Creazione di una nuova cartella.

This commit is contained in:
2023-10-19 11:43:14 +02:00
parent 0ba070ba54
commit cae02dfebf
5 changed files with 69 additions and 15 deletions

19
public/js/app/documenti.js vendored Normal file
View File

@@ -0,0 +1,19 @@
$(document).ready(function() {
$('#tab_documenti').DataTable({
"responsive": true,
"order": [[0, "desc"]]
});
// $('.select2').select2();
$(document).on('click', '#open_modal_folder', function() {
$('#form').find('input[type="text"], textarea, input[type="number"],input[type="date"],option').val("");
// $('#form').find('input[type="date"]').val(strDate);
$('#myModal').modal('show');
$('.modal-title').text(' Nuova Cartella');
$('#form').attr('action', '/admin/documenti');
});
});