Permalink
Browse files

Use a closure for embedding the admin actions JavaScript and updated …

…the minified versions a little bit.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12372 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 816fced commit 5dad2350f797883841b694793872a1fd95ad0ee5 @jezdez jezdez committed Feb 1, 2010

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -20,10 +20,11 @@
{% block extrahead %}
{{ block.super }}
<script type="text/javascript">
-jQuery.noConflict();
-jQuery(document).ready(function($) {
- $("tr input.action-select").actions();
-});
+(function($) {
+ $(document).ready(function($) {
+ $("tr input.action-select").actions();
+ });
+})(jQuery.noConflict());
</script>
{% endblock %}

0 comments on commit 5dad235

Please sign in to comment.