main
Ilham Wara Nugroho 2025-09-12 09:41:52 +07:00
parent 73e70e9ea9
commit 83ef77e66c
1 changed files with 2 additions and 4 deletions

View File

@ -203,8 +203,9 @@
icon.removeClass('fa-eye-slash').addClass('fa-eye'); // Kembalikan ikon icon.removeClass('fa-eye-slash').addClass('fa-eye'); // Kembalikan ikon
} }
}); });
});
new Dropzone(".dropzone", { const myDropzone = new Dropzone(".dropzone", {
url: "{{ url('uploadTempImage') }}", // URL ke controller kamu url: "{{ url('uploadTempImage') }}", // URL ke controller kamu
method: "POST", method: "POST",
xhrFields: { xhrFields: {
@ -250,8 +251,5 @@
}); });
} }
}); });
});
</script> </script>
@endsection @endsection