[1.0.X] Fixed #10651: fixed a javascript error on the admin user add form. Thanks, seanl. Backport of [10714] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
4f383e2939
commit
cd4f12d116
|
@ -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