mirror of
https://github.com/django/django.git
synced 2025-09-26 12:09:19 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 %}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue