Skip to content

Commit 52d477d

Browse files
committed
feat(frontend): add specific notice for scheduled messages
1 parent 4f5654f commit 52d477d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

modules/smtp/js_modules/route_handlers.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,11 @@ function applySmtpComposePageHandlers() {
131131

132132
async function handleSendAnyway() {
133133
if ($('.saving_draft').val() !== '0') {
134-
Hm_Notices.show([hm_trans('Please wait, sending message...')]);
134+
if ($('.nexter_input').val()) {
135+
Hm_Notices.show([hm_trans('Please wait, message scheduling in progress...')]);
136+
} else {
137+
Hm_Notices.show([hm_trans('Please wait, sending message...')]);
138+
}
135139
await waitForValueChange('.saving_draft', '0');
136140
}
137141

0 commit comments

Comments
 (0)