#6059 closed (fixed)
newforms-admin extra javascript is getting escaped
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | contrib.admin | Version: | newforms-admin |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
On change and add pages, I'm seeing escaped script tags on the top line:
<script type="text/javascript" src="/media/js/core.js"></script> <script type="text/javascript" src="/media/js/admin/RelatedObjectLookups.js"></script>
Attached patch fixes this by marking the 'media' template variable as safe.
Attachments (1)
Change History (3)
by , 17 years ago
Attachment: | safe_media.diff added |
---|
comment:1 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 17 years ago
Oops. Forgot to thank Karen Tracy in the commit message. Sorry Karen, and thanks. :)
Note:
See TracTickets
for help on using tickets.
(In [6779]) newforms-admin: Fixed #6059. Javascript in the admin is no longer escaped.