Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
account-settings: Pass delivery email to change email modal.
When we converted the change email form to a dialog widget modal, in commit f43d3b9, the page_params value for delivery email that was being referenced in the handlebars template `change_email_modal.hbs` was not set, so instead an empty string was the initial input value. Because the email change dialog widget post_render callback sets the input value to the same delivery email, the fact that the email was not being set when the template was initially rendered was not noticable. Passes the page_params.delivery_email to the html parameter in dialog_widget.launch so that the template has the initial value set when the form is initially rendered. Removes the now redundant post_render callback, which resets the initial input value to the same delivery email.
- Loading branch information