Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#6059 closed (fixed)

newforms-admin extra javascript is getting escaped

Reported by: Karen Tracey <kmtracey@…> 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


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)

safe_media.diff (916 bytes) - added by Karen Tracey <kmtracey@…> 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by Karen Tracey <kmtracey@…>

Attachment: safe_media.diff added

comment:1 Changed 11 years ago by jkocherhans

Resolution: fixed
Status: newclosed

(In [6779]) newforms-admin: Fixed #6059. Javascript in the admin is no longer escaped.

comment:2 Changed 11 years ago by jkocherhans

Oops. Forgot to thank Karen Tracy in the commit message. Sorry Karen, and thanks. :)

Note: See TracTickets for help on using tickets.
Back to Top