fix email RE

This commit is contained in:
yuri
2015-04-13 10:17:20 +03:00
parent 9054d70f4c
commit 01dc251ef2
+1 -1
View File
@@ -189,7 +189,7 @@ Espo.define('Views.Email.Detail', 'Views.Detail', function (Dep) {
};
var subject = this.model.get('name');
if (subject.indexOf('Re:') !== 0) {
if (subject.toUpperCase().indexOf('RE:') !== 0) {
attributes['name'] = 'Re: ' + subject;
} else {
attributes['name'] = subject;