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 6104,admin ManyToMany widget: js broken for 'add another' popup,Steven Armstrong,nobody,"In RelatedObjectLookups.js dismissRelatedLookupPopup get's passed an integer which is then run through html_unescape. html_unescape errors out while trying to call a .replace method on the int. The effect of this is that the change-form popup stays open and the value in the select element doesn't get updated. The attached patch fixes that by ensuring the arguments of html_unescape are string. ",,closed,contrib.admin,newforms-admin,,duplicate,,,Unreviewed,1,0,0,0,0,0