Skip to content

Delay the widget initialization #14

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

Merged
merged 1 commit into from
Jul 21, 2014
Merged

Conversation

scardine
Copy link
Contributor

@scardine scardine commented May 9, 2014

Many people like to place {{ form.media }} at the end of the page, in this case jQuery would not be loaded yet when the initialization runs (js_template).

I'm not a javascript guy, perhaps there is a better way to delay the widget initialization, but this worked for me.

Many people like to place {{ form.media }} at the end of the page, in this case jQuery would not be loaded yet when the initialization runs (js_template). 

I'm not a javascript guy, perhaps there is a better way to delay the widget initialization, but this worked for me.
nkunihiko added a commit that referenced this pull request Jul 21, 2014
Delay the widget initialization
@nkunihiko nkunihiko merged commit 157b466 into nkunihiko:master Jul 21, 2014
@nkunihiko
Copy link
Owner

Thank you very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants