Skip to content

DropZone.reset empty this.hiddenContainer #12

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();

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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