Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.
This repository was archived by the owner on May 25, 2023. It is now read-only.

Using with jquery sortable #2177

Closed
Closed
@andrei4002

Description

@andrei4002

If I use jquery sortable to sort some lists (non related to file uploading, just simple lists), while there's a file upload widget enabled somewhere in the page, i get an error saying Cannot read property 'dataTransfer' of undefined from the _onDrop function on this plugin. This happens when I perform a drag and drop on my lists elements (just move elements between them, and only when I drop them)

Why could _onDrop be getting triggered when I use sortable (happens when I drop a dom item in another place) ?

Right now I monkey-patched the _onDrop function to skip if there is no e.originalEvent coming in. Any ideas?

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