Skip to content

Commit

Permalink
fix(ui): Disable send button while mail is sending. Fixes #5825.
Browse files Browse the repository at this point in the history
  • Loading branch information
WoodySlum committed Jul 10, 2023
1 parent e53e549 commit a484407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/Templates/MailerUI/UIxMailEditor.wox
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
</md-autocomplete>
<md-button class="sg-icon-button"
ng-click="editor.send()"
ng-disabled="!(editor.message.editable.to.length > 0 || editor.message.editable.cc.length > 0 || editor.message.editable.bcc.length > 0) || editor.uploader.isUploading || messageForm.$invalid || messageForm.$submitted"
ng-disabled="!(editor.message.editable.to.length > 0 || editor.message.editable.cc.length > 0 || editor.message.editable.bcc.length > 0) || editor.sendState == 'sending' || editor.uploader.isUploading || messageForm.$invalid || messageForm.$submitted"
sg-ripple-click="mailEditor">
<md-icon>send</md-icon>
</md-button>
Expand Down

0 comments on commit a484407

Please sign in to comment.