Skip to content

Commit

Permalink
(js) More precaution in mail composer
Browse files Browse the repository at this point in the history
  • Loading branch information
cgx committed Nov 21, 2016
1 parent ac94c21 commit 909b18b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UI/Templates/MailerUI/UIxMailEditor.wox
Expand Up @@ -26,7 +26,7 @@
</md-input-container>
<div flex="flex"><!-- spacer --></div>
<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"
ng-disabled="!(editor.message.editable.to.length > 0 || editor.message.editable.cc.length > 0 || editor.message.editable.bcc.length > 0) || editor.uploader.isUploading || messageForm.$pristine || messageForm.$invalid || messageForm.$submitted"
sg-ripple-click="mailEditor">
<md-icon>send</md-icon>
</md-button>
Expand Down

0 comments on commit 909b18b

Please sign in to comment.