[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 XMPPNotifications extends Plugin
{
public function onAddNotificationTransport(&$form_defs): bool
{
$form_defs['xmpp'] = $form_defs['placeholder'];
$form_defs['xmpp'] = $form_defs['placeholder'];
$form_defs['xmpp'][] = $form_defs['placeholder']['save']('XMMP', 'save_xmpp');
return Event::next;
}
}