Skip to content
This repository was archived by the owner on Jun 19, 2022. It is now read-only.
This repository was archived by the owner on Jun 19, 2022. It is now read-only.

No JSON returned #6

@ssavinel

Description

@ssavinel

When I try to drag&drop an image in the post content, the console returns this warning :
SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data on dragdrop.js l.139

I've been able to track it down to the call of the upload function in the complete function (l. 93) with the params being : /admin/posts/upload/ and a file object.

Of course, nothing happens and the picture doesn't seem to be uploaded.

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