Problem/Motivation
There is no default list selection by default with the handler.
If i switch a list selection, the form of the handler doesn't update.
Groups only get visible if i save and edit again.
Proposed resolution
Use ajax to refresh the form.
User interface changes
Ajaxification.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | use_ajax_to_update_lists-2931405-4.patch | 2.89 KB | mbovan |
| #2 | use_ajax_to_update_lists-2931405-2.patch | 2.98 KB | mbovan |
Comments
Comment #2
mbovan commentedThis patch implements an ajax callback on a list select element which updates interest groups accordingly (no need to save a handler and edit the form).
As this overlaps with the related issue, the patch also includes fixes for #2920238: Interest Groups not showing in handler config form and #2906484: Subscribing webform submitters to a hidden Mailchimp interest group?. In case these 2 issues get committed first, I will reroll this patch on top of it.
Comment #3
berdirPlease also provide a patch on top of the other ones for review and committing once the other two are in.
Comment #4
mbovan commentedAs #2906484: Subscribing webform submitters to a hidden Mailchimp interest group? and #2920238: Interest Groups not showing in handler config form were fixed, here is the rerolled patch.
Comment #5
berdirLooks good to me and works for us.
Comment #7
mbovan commentedThanks.