Skip to content
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

28 - Standard input fields visible during page load #28

Open
klipstein opened this issue Nov 6, 2011 · 0 comments
Open

28 - Standard input fields visible during page load #28

klipstein opened this issue Nov 6, 2011 · 0 comments

Comments

@klipstein
Copy link
Owner

What steps will reproduce the problem?
1. Add the dojo.require function calls at the end of the body tag by
looping through the DOJANGO.COLLECTOR variable.
2. Open the page in a browser. (I only tested with Firefox)

What is the expected output? What do you see instead?
The dojo widget replacement is done after the page has been rendered. This
will cause the standard input fields to be visible while the widgets are
replaced.

What version of the product are you using? On what operating system?
SVN revision 210

I created a fix for this. By letting the middleware replace a placeholder
in the response the dojo.require can be placed anywhere in the output. If
placed within the head section, the widgets are loaded before the page is
rendered.

A patch file is attached.
Enjoy!

Original link: http://code.google.com/p/dojango/issues/detail?id=28
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

No branches or pull requests

1 participant