Opened 16 years ago

Closed 16 years ago

Last modified 16 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

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)

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

Download all attachments as: .zip

Change History (3)

by Karen Tracey <kmtracey@…>, 16 years ago

Attachment: safe_media.diff added

comment:1 by jkocherhans, 16 years ago

Resolution: fixed
Status: newclosed

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

comment:2 by jkocherhans, 16 years ago

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