-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$(...).render is not a function at uploader.js #52
Comments
@beatriznbarroso what version of jQuery are you loading? If you load the backend's jquery version with |
Hello, I am getting the same issue. Which JQuery version should I use? I am currently using 1.11 |
@dlr1251 just use the one built into October with |
@LukeTowers
What could be the cause? |
@vdomah the |
Problem not solved by using <script src="{{ ['@jquery'] | theme }}"></script> |
@vdomah did you make sure that it was loaded before anything else? |
Could you paste the exact line that the error is being thrown on? |
Solution to the problem:
|
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?
The text was updated successfully, but these errors were encountered: