Skip to content

DropZone.reset empty this.hiddenContainer #12

@partikule

Description

@partikule

DropZone.HTML4 and DropZone.Flash inject iFrame / flashContainer in this.hiddenContainer, but DropZone.reset empty this.hiddenContainer, making the iFrame (HTML4 mode) and the flashContainer (Flash mode) unavailable for the next upload.

Suggested solution :
in DropZone.js :
Replace :

    if(this.hiddenContainer) this.hiddenContainer.empty();

By :

    if (this.mode == 'HTML5')
        if(this.hiddenContainer) this.hiddenContainer.empty();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions