fix stream status update message

This commit is contained in:
yuri
2016-09-02 12:40:09 +03:00
parent 8432e9dcc8
commit e58a4c4bbf
+3 -3
View File
@@ -26,11 +26,11 @@
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
Espo.define('Views.Stream.Notes.Status', 'Views.Stream.Note', function (Dep) {
Espo.define('views/stream/notes/status', 'views/stream/note', function (Dep) {
return Dep.extend({
template: 'stream.notes.status',
template: 'stream/notes/status',
messageName: 'status',
@@ -58,7 +58,7 @@ Espo.define('Views.Stream.Notes.Status', 'Views.Stream.Note', function (Dep) {
this.statusText = this.getLanguage().translateOption(value, field, this.model.get('parentType'));
this.messageData['field'] = this.translate(field, 'fields', this.model.name).toLowerCase();
this.messageData['field'] = this.translate(field, 'fields', this.model.get('parentType')).toLowerCase();
this.createMessage();
},