Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

Commit

Permalink
fix(Felamimail): show warn if subject empty
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Feitl committed May 31, 2023
1 parent 092b589 commit c5a4d2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tine20/Felamimail/js/MessageEditDialog.js
Expand Up @@ -1911,7 +1911,7 @@ Tine.Felamimail.MessageEditDialog = Ext.extend(Tine.widgets.dialog.EditDialog, {
}
}

if (!emptySubject && this.getForm().findField('subject').getValue() == '') {
if (!emptySubject && !this.getForm().findField('subject').getValue()) {
Tine.log.debug('Tine.Felamimail.MessageEditDialog::onApplyChanges - empty subject');
Ext.MessageBox.confirm(
this.app.i18n._('Empty subject'),
Expand Down

0 comments on commit c5a4d2e

Please sign in to comment.