Looks like the change function is not triggered if the field value is changed when using the raw_id_fields (popup).
Adding the trigger by overwriting dismissRelatedLookupPopup is necessary until django admin fixes this.
Similar to how dismissAddAnotherPopup is changed as well.
Coverage remained the same at 89.588% when pulling 7b3cc335c22bc5b22010569c05b6641ed6fdf73f on leibowitz:add_change_trigger into e7fe61b3edc6c81a2da5343a1fad7c7bdacea1cf on digi604:master.
Looks like the change function is not triggered if the field value is changed when using the
raw_id_fields
(popup). Adding the trigger by overwritingdismissRelatedLookupPopup
is necessary until django admin fixes this.Similar to how
dismissAddAnotherPopup
is changed as well.Open to feedback on how to do this better