Reputation: 1125
Is there any way to delete the removeLink from the file on success?
I have tried this inside of my init
function:
this.on("success", function (file) {
$(this).find(".dv-remove").remove();
});
but it didn't work. Am i doing something wrong? Thanks in advance for the help
Upvotes: 0
Views: 349
Reputation: 484
Please try this one in you're success method.
this.options['dictRemoveFile'] = "";
this is object of you're dropzone.
Upvotes: 1