﻿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
10651	auth app add user page causes javascript error due to admin change_form assuming presence of adminform object	Sean Legassick	nobody	"The contrib.auth add user page (add_form.html) causes a javascript error. This is due to the extended change_form.html inserting the following because of a missing adminform object in the context:

{{{ <script type=""text/javascript"">document.getElementById("""").focus();</script> }}}

The attached patch fixes this by having change_form.html check for presence of adminform and skipping the above line if it isn't present (which is correct because add_form.html has a hard-coded version of the same JS to set focus to the username field)."		closed	contrib.admin	dev		fixed			Ready for checkin	1	0	0	0	0	0
