[FIX] mail: Don't display message if only subtype
Currently, if a message does not have any tracking value, any attachment and no body BUT has a subtype with a description, the message is not considered as empty. The message subtype should not influence its "emptyness".
This commit is contained in:
committed by
Yannick Tivisse
parent
fbf9b55c5b
commit
ad8e969323
@@ -255,7 +255,6 @@ var AbstractMessage = Class.extend({
|
||||
*/
|
||||
isEmpty: function () {
|
||||
return !this.hasTrackingValues() &&
|
||||
!this.hasSubtypeDescription() &&
|
||||
!this.hasAttachments() &&
|
||||
!this.getBody();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user