Ticket #10651: 10651-change-form-checks-for-adminform-object.diff
File 10651-change-form-checks-for-adminform-object.diff, 490 bytes (added by , 16 years ago) |
---|
-
django/contrib/admin/templates/admin/change_form.html
54 54 55 55 {% submit_row %} 56 56 57 {% if ad d %}57 {% if adminform and add %} 58 58 <script type="text/javascript">document.getElementById("{{ adminform.first_field.auto_id }}").focus();</script> 59 59 {% endif %} 60 60