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?
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:323I 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?