From 3c70f28dc08a5d4cc83e0ce14d2454b6f5f5d537 Mon Sep 17 00:00:00 2001 From: yuri Date: Mon, 10 Aug 2015 15:00:50 +0300 Subject: [PATCH] ability to use standartizized view name --- frontend/client/src/utils.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/client/src/utils.js b/frontend/client/src/utils.js index 3cdf926e67..55baa3091c 100644 --- a/frontend/client/src/utils.js +++ b/frontend/client/src/utils.js @@ -110,6 +110,9 @@ Espo.define('utils', [], function () { }, composeViewClassName: function (name) { + if (name && name[0] === name[0].toLowerCase()) { + return name; + } if (name.indexOf(':') != -1) { var arr = name.split(':'); var modPart = arr[0];