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:
parent
23fa913676
commit
f7d01c49e9
|
@ -54,7 +54,7 @@
|
|||
|
||||
{% submit_row %}
|
||||
|
||||
{% if add %}
|
||||
{% if adminform and add %}
|
||||
<script type="text/javascript">document.getElementById("{{ adminform.first_field.auto_id }}").focus();</script>
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue