[CONTROLLR][UserPanel][PLUGINS] Add submit button to notification settings for each transport

This commit is contained in:
2021-08-07 18:24:11 +00:00
parent afbcb179b2
commit cdf3426567
3 changed files with 17 additions and 3 deletions

View File

@@ -39,7 +39,8 @@ class EmailNotifications extends Plugin
{
public function onAddNotificationTransport(&$form_defs): bool
{
$form_defs['email'] = $form_defs['placeholder'];
$form_defs['email'] = $form_defs['placeholder'];
$form_defs['email'][] = $form_defs['placeholder']['save']('Email', 'save_email');
unset($form_defs['email']['post_on_status_change']);
return Event::next;
}