Skip to content

$(...).render is not a function at uploader.js #52

@beatriznbarroso

Description

@beatriznbarroso

I always have this error when I don't hard refresh the page.

Uncaught TypeError: $(...).render is not a function at uploader.js:319 at uploader.js:323 (anonymous) @ uploader.js:319 (anonymous) @ uploader.js:323

I have looked online and I have
{% framework extras %}

and then
{% scripts %}

if I change
$(document).render(function () { $('[data-control="fileupload"]').fileUploader() })

to

$(document).ready(function () { $('[data-control="fileupload"]').fileUploader() })
it works perfectly. Does anyone have any idea of how I can fix this issue without changing this line of code in uploader.js?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions