From 8e495dcafcb550d053d925e30feb42c8a04ebbc8 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 30 Oct 2019 16:56:58 +0300 Subject: [PATCH] [Calendar] Fix translation --- apps/common/main/lib/component/Calendar.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/common/main/lib/component/Calendar.js b/apps/common/main/lib/component/Calendar.js index 9cc9e9810..a717e9696 100644 --- a/apps/common/main/lib/component/Calendar.js +++ b/apps/common/main/lib/component/Calendar.js @@ -39,7 +39,7 @@ define([ ], function () { 'use strict'; - Common.UI.Calendar = Common.UI.BaseView.extend({ + Common.UI.Calendar = Common.UI.BaseView.extend(_.extend({ template : _.template([ @@ -91,14 +91,14 @@ define([ me.btnPrev = new Common.UI.Button({ cls: 'btn-toolbar', - iconCls: 'mmerge-prev', + iconCls: 'mmerge-prev' }); me.btnPrev.render(me.cmpEl.find('#prev-arrow')); me.btnPrev.on('click', _.bind(me.onClickPrev, me)); me.btnNext = new Common.UI.Button({ cls: 'btn-toolbar', - iconCls: 'mmerge-next', + iconCls: 'mmerge-next' }); me.btnNext.render(me.cmpEl.find('#next-arrow')); me.btnNext.on('click', _.bind(me.onClickNext, me)); @@ -407,5 +407,5 @@ define([ textShortSaturday: 'Sa', textMonths: 'Months', textYears: 'Years' - }); + }, Common.UI.Calendar || {})); }); \ No newline at end of file