-
-
I'm not sure this is the way to fix this. The problem is not that jquery isn't present in the page ("js/jquery.html" is included in by "templates/base.html"), but that it comes after repositoryform.js. Note that repositoryform.js is included in the "extrahead" block, and then take a look at where {% include "js/jquery.html" %} appears in "templates/base.html".
-
I'm not sure this is the way to fix this. The problem isn't jquery not being included in the page ("js/jquery.html" is included by "templates/base.html"), but that it comes after repositoryform.js. Note that repositoryform.js is included in the "extrahead" block, and then take a look at where {% include "js/jquery.html" %} appears in "templates/base.html".
Fix the admin's add/change repository form
Review Request #3334 — Created Sept. 19, 2012 and submitted
The admin add/change repository form is missing it's jQuery dependency. Re-introduced jQuery into the template that displays the admin repository form to satisfy the forms JS' dependency. While Django's admin bundles its own, namespaced copy of jQuery along with ModelAdmin forms, using Review Board's copy instead guarantees that we get the version of jQuery we expect. Fixes Issue 2742
Description | From | Last Updated |
---|---|---|
I'm not sure this is the way to fix this. The problem is not that jquery isn't present in the … |
SM smacleod | |
I'm not sure this is the way to fix this. The problem isn't jquery not being included in the page … |
SM smacleod |
SM
KA
- Change Summary:
-
Missed the inclusion of jQuery in a different template block -- the repositoryform.js is now part of this block.