summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_scripts
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2010-04-19 18:37:12 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2010-04-19 18:37:12 +0000
commitea7df233958e2fd06989f6576b206f6a4cc65435 (patch)
treeded57ea80e3cda974d97be8aff576d53ee654520 /tests/regressiontests/admin_scripts
parentfef0d25bdccbb8f01314cf3a94651d3cfe67a34e (diff)
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
Diffstat (limited to 'tests/regressiontests/admin_scripts')
0 files changed, 0 insertions, 0 deletions