Browse Source

Merge pull request #23869 from abpframework/CloseEmailSendModal

Close test email modal after sending email
pull/23904/head
Yağmur Çelik 4 months ago
committed by GitHub
parent
commit
38ebee70aa
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      modules/setting-management/src/Volo.Abp.SettingManagement.Blazor/Pages/SettingManagement/EmailSettingGroup/EmailSettingGroupViewComponent.razor.cs
  2. 1
      modules/setting-management/src/Volo.Abp.SettingManagement.Web/Pages/SettingManagement/Components/EmailSettingGroup/Default.js

2
modules/setting-management/src/Volo.Abp.SettingManagement.Blazor/Pages/SettingManagement/EmailSettingGroup/EmailSettingGroupViewComponent.razor.cs

@ -119,6 +119,8 @@ public partial class EmailSettingGroupViewComponent
await EmailSettingsAppService.SendTestEmailAsync(ObjectMapper.Map<SendTestEmailViewModel, SendTestEmailInput>(SendTestEmailInput));
await Notify.Success(L["SentSuccessfully"]);
await CloseSendTestEmailModalAsync();
}
catch (Exception ex)
{

1
modules/setting-management/src/Volo.Abp.SettingManagement.Web/Pages/SettingManagement/Components/EmailSettingGroup/Default.js

@ -41,6 +41,7 @@
_sendTestEmailModal.onResult(function () {
abp.notify.success(l('SentSuccessfully'));
_sendTestEmailModal.close();
});
$("#SendTestEmailButton").click(function (e) {

Loading…
Cancel
Save