﻿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
19773	Moving the response after a popup submission to a template so that it can be overwritten.	jimmylam@…	nobody	"Currently, after a popup submission (e.g. adding another User thur the ""+"" link in django admin), the response is 

'<!DOCTYPE html><html><head><title></title></head><body>'
'<script type=""text/javascript"">opener.dismissAddAnotherPopup(window, ""%s"", ""%s"");</script></body></html>' % \
                # escape() calls force_unicode.
                (escape(pk_value), escapejs(obj)))

Can this be changed so that it is loaded from a template file?  And so, the template file can then be overwritten.  

Since most browsers are having more strict cross-site pop-up windows security checking and my site are being loaded from different subdomains.  In order to make them work together, i have to add the javascript
'document.domain = 'mydomain.com' in the templates, including the admin templates. 

However, the above response can't be modified or overwritten because it's part of the code within the response_add method of ModelAdmin. 
 "	Cleanup/optimization	closed	contrib.admin	1.4	Normal	fixed			Accepted	1	0	0	0	0	0
