Please sign in to comment.
Fixed #11967: use a different technique to get `ADMIN_MEDIA_PREFIX` i…
…n 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
- Loading branch information...
Showing with 9 additions and 9 deletions.