-
-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert to Field on email Trait to entity reference #17397
Conversation
(Standard links)
|
@colemanw I think this is the commit for the last entity ref field on that form now. I have had a lot of preliminaries merged to get to a somewhat readable switch over |
@demeritcowboy any chance you could review this for me - it could do with your 'eye-for-gotchas' - it replaces the 'to field' on all the screens for sending emails to one or more contacts (but not civimails) |
Sure, can look tomorrow. |
thanks! |
One thing is that if you're on a contact view page and from the actions dropdown choose Send Email, it no longer prepopulates the To field. It's not immediately obvious why. Ditto if you initiate an email from Manage Case in the roles section. |
@demeritcowboy thanks - I'll check it out |
Oh actually looking at it now afresh it's probably toContact in the template. |
@demeritcowboy yes - it looks like it needs setDefaultValues - the code is so awful that coming back to it again I can't make much sense of it :-( I put up this minor simplification #17873 for now |
I'm going to close this for now - per comments on #17873 |
Overview
This changes the to field when doing a stand-alone email from a weird java-scripty field to an entity reference field
Before
Lots of custom js fo the to field
After
Entity reference, like with cc & bcc fields
Technical Details
Comments