Dr. Roggia
Dr. Roggia

Reputation: 1125

Dropzone remove RemoveLink on file success

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

Answers (1)

imran khan
imran khan

Reputation: 484

Please try this one in you're success method.

this.options['dictRemoveFile'] = "";

this is object of you're dropzone.

Upvotes: 1

Related Questions