Fixed #10651: fixed a javascript error on the admin user add form. Thanks, seanl.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10714 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jacob Kaplan-Moss 2009-05-08 12:57:57 +00:00
parent 23fa913676
commit f7d01c49e9
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@
{% submit_row %} {% submit_row %}
{% if add %} {% if adminform and add %}
<script type="text/javascript">document.getElementById("{{ adminform.first_field.auto_id }}").focus();</script> <script type="text/javascript">document.getElementById("{{ adminform.first_field.auto_id }}").focus();</script>
{% endif %} {% endif %}