This commit is contained in:
yuri
2016-12-16 16:34:40 +02:00
parent 74ad0cab35
commit 623d94b77f
+1 -1
View File
@@ -48,7 +48,7 @@ Espo.define('controllers/record', 'controller', function (Dep) {
},
getViewName: function (type) {
return this.viewMap[type] || this.getMetadata().get('clientDefs.' + this.name + '.views.' + type) || 'views/' + Espo.Utils.camelCaseToHyphen(type);
return this.viewMap[type] || this.getMetadata().get(['clientDefs', this.name, 'views', type]) || 'views/' + Espo.Utils.camelCaseToHyphen(type);
},
beforeList: function () {