-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confirm on file delete? #814
Comments
no prob, I've solved this one. Thanks. :) |
@rizqyhi How’d you solve this one? |
@davidcelis rather than using default Just that. :) |
The following link has a solution: |
on the removeFileEvent = function(e) {
replace with:
|
Or you could simply set dictRemoveFileConfirmation :) |
Upon cancelling the confirmation box, the thumbnail is removed too! |
Set
|
If you override removedFile function, you can add customised script to confirm deletion as the file preview won't be automatically removed. For example:
|
Hi, is there any method to show a confirm dialog when deleting the file?
I've tried using
removedfile
event, but the file has been removed when the confirm modal is showed. Maybe listen to button when clicked will work? Any suggestion?Thank you for a great plugin. :)
The text was updated successfully, but these errors were encountered: