django1/django/contrib/admin/media/js/admin
Jacob Kaplan-Moss ea7df23395 Fixed #11967: use a different technique to get `ADMIN_MEDIA_PREFIX` in admin JS.
We now store ADMIN_MEDIA_PREFIX on the window object and let JS files read it
from there. The old technique -- looking a <script> tags and trying to deduce
the prefix -- broke with libraries like TineMCE that dynamically add <script>
tags to the <head>.

This is potentially backwards-incompatible for folks who've overridden
`admin/base.html`; they'll need to add the proper <script> line to
their new `admin/base.html`. For that reason, this changeset shouldn't
be backported to 1.1.X.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13002 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-19 18:37:12 +00:00
..
DateTimeShortcuts.js Fixed #11967: use a different technique to get `ADMIN_MEDIA_PREFIX` in admin JS. 2010-04-19 18:37:12 +00:00
RelatedObjectLookups.js Fixed #9341: add another on `ManyToManyField`s with `raw_id_admins` now works correctly. 2009-04-08 19:57:27 +00:00
ordering.js Fixed positioning of ordering widget with liquid page widths. 2006-02-02 17:09:26 +00:00