Skip to content

Commit 6f46258

Browse files
authored
Merge pull request #1747 from christer77/add-specific-notice-for-scheduled-messages
feat(frontend): add specific notice for scheduled messages
2 parents 68c7a39 + 52d477d commit 6f46258

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)