id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 10794 "admin JS error 'document.getElementById("""") is null' on adding new user" Carl Meyer nobody On trunk Django, when trying to add a new user via the admin, the form contains two similar JS snippets, both trying to provide auto-focus on the first field. One is hardcoded in the admin/auth/user/add_form.html template, and works fine. The other is coming from somewhere else, and the id-selector in it is an empty string, which causes an error. closed contrib.admin dev duplicate Unreviewed 0 0 0 0 0 0