ACIL FM
Dark
Refresh
Current DIR:
/home/mhhtmff/app/NH-HR-test-old/mb/scripts
/
home
mhhtmff
app
NH-HR-test-old
mb
scripts
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
bacheca.js
2.85 MB
chmod
View
DL
Edit
Rename
Delete
bootstrap.min.js
216.1 MB
chmod
View
DL
Edit
Rename
Delete
custom.js
91.92 MB
chmod
View
DL
Edit
Rename
Delete
globals.js
1.04 MB
chmod
View
DL
Edit
Rename
Delete
login.js
8.03 MB
chmod
View
DL
Edit
Rename
Delete
permission.js
10.14 MB
chmod
View
DL
Edit
Rename
Delete
profile.js
9.22 MB
chmod
View
DL
Edit
Rename
Delete
stamp.js
17.93 MB
chmod
View
DL
Edit
Rename
Delete
transfer.js
8.74 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/mhhtmff/app/NH-HR-test-old/mb/scripts/bacheca.js
function sendBacheca() { var object = document.querySelector('#object').value; var body = document.querySelector('#body').value; $.ajax({ type: "POST", url: "php/bacheca/send_new_bacheca.php", data: { object: object, body: body }, success: function (res) { if (res === 'error') { Swal.fire({ type: 'error', text: 'Errore: ' + res }); } else { Swal.fire({ type: 'success', title: 'Pubblicazione inserita con successo!', showConfirmButton: false, timer: 2000 }); //Allegati var fd = new FormData(); for (i = 0; i <= 10; i++) { var files = document.querySelector('#ticket_attachments').files[i]; // Check file selected or not fd.append('file' + i, files); } $.ajax({ url: 'php/bacheca/attachments_upload.php', type: 'post', data: fd, dataType: 'json', contentType: false, processData: false, success: function (response) { if (response.status == 1) { var extension = response.extension; var path = response.path; } else { alert('File not uploaded'); } } }); document.querySelector('#close_new_bacheca').click(); openBacheca(); } } }); } function deleteBacheca(id) { Swal.fire({ title: "Eliminare la pubblicazione?", showDenyButton: false, showCancelButton: true, confirmButtonText: "Elimina", denyButtonText: `No` }).then((result) => { if (result.value == true) { $.ajax({ type: "POST", url: "php/bacheca/delete_bacheca.php", data: { id: id }, success: function (res) { if (res === 'error') { Swal.fire({ type: 'error', text: 'Errore: ' + res }); } else { Swal.fire({ type: 'success', title: 'Pubblicazione eliminata con successo!', showConfirmButton: false, timer: 2000 }); openBacheca(); } } }); } }); }
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply