summaryrefslogtreecommitdiffstats
path: root/templates/packages/search.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/packages/search.html')
-rw-r--r--templates/packages/search.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/packages/search.html b/templates/packages/search.html
index 6ed7f95..fe4d4b7 100644
--- a/templates/packages/search.html
+++ b/templates/packages/search.html
@@ -6,7 +6,8 @@
{% block head %}
<link rel="stylesheet" type="text/css" href="/media/admin_media/css/widgets.css" />
<script type="text/javascript" src="/jsi18n/"></script>
-<script type="text/javascript" src="/media/admin_media/js/core.js"></script>
+{% load adminmedia %}<script type="text/javascript" src="{% admin_media_prefix %}js/core.js"></script>
+<script type="text/javascript">window.__admin_media_prefix__ = "{% filter escapejs %}{% admin_media_prefix %}{% endfilter %}";</script>
{{search_form.media}}
{% endblock %}