diff --git a/layouts/v7/modules/Calendar/resources/Calendar.js b/layouts/v7/modules/Calendar/resources/Calendar.js index 98c1147371910dff8c156a86f914639503063558..90e03217d0096979d471ab2d9c6d6b9e3c3c5589 100644 --- a/layouts/v7/modules/Calendar/resources/Calendar.js +++ b/layouts/v7/modules/Calendar/resources/Calendar.js @@ -561,7 +561,7 @@ Vtiger.Class("Calendar_Calendar_Js", { //replacing module name prefix with translated module name and concatinating with field name var feedIndicatorModuleEndIndex = feedIndicatorTitle.indexOf('('); // Events (ActivityType) - title... if (feedIndicatorModuleEndIndex == -1) { // ModuleName - title... - feedIndicatorModuleEndIndex = feedInicatorTitle.indexOf('-'); + feedIndicatorModuleEndIndex = feedIndicatorTitle.indexOf('-'); } feedIndicatorTitle = translatedModuleName + feedIndicatorTitle.substr(feedIndicatorModuleEndIndex); newFeedIndicator.find('span:first').text(feedIndicatorTitle);