From 282449adcb8b94dba17535776663309f004c15f8 Mon Sep 17 00:00:00 2001 From: "Alexander.Trofimov" Date: Thu, 26 Sep 2019 13:05:16 +0300 Subject: [PATCH] [SSE] Tab color Change arguments for function asc_setWorksheetTabColor --- apps/spreadsheeteditor/main/app/controller/Statusbar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/controller/Statusbar.js b/apps/spreadsheeteditor/main/app/controller/Statusbar.js index b88aee8a8..c462c9b8b 100644 --- a/apps/spreadsheeteditor/main/app/controller/Statusbar.js +++ b/apps/spreadsheeteditor/main/app/controller/Statusbar.js @@ -486,12 +486,12 @@ define([ var tab = _.findWhere(this.statusbar.tabbar.tabs, {sheetindex: sindex}); if (tab) { if ('transparent' === color) { - this.api.asc_setWorksheetTabColor(sindex, null); + this.api.asc_setWorksheetTabColor(null, [sindex]); tab.$el.find('a').css('box-shadow', ''); } else { var asc_clr = Common.Utils.ThemeColor.getRgbColor(color); if (asc_clr) { - this.api.asc_setWorksheetTabColor(sindex, asc_clr); + this.api.asc_setWorksheetTabColor(asc_clr, [sindex]); this.setTabLineColor(tab, asc_clr); } }