From e5676c4c7c284c17a274579e4967eb1193759558 Mon Sep 17 00:00:00 2001 From: JuliaSvinareva Date: Mon, 26 Jul 2021 16:54:28 +0300 Subject: [PATCH] [SSE] Remove unused code --- .../main/app/controller/Statusbar.js | 35 ------------------- 1 file changed, 35 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/controller/Statusbar.js b/apps/spreadsheeteditor/main/app/controller/Statusbar.js index d7590624b..c45c94cc0 100644 --- a/apps/spreadsheeteditor/main/app/controller/Statusbar.js +++ b/apps/spreadsheeteditor/main/app/controller/Statusbar.js @@ -528,41 +528,6 @@ define([ } }, - moveCurrentTab: function (direction) { - if (this.api) { - var indTab = 0, - tabBar = this.statusbar.tabbar, - index = this.api.asc_getActiveWorksheetIndex(), - length = tabBar.tabs.length; - - this.statusbar.tabMenu.hide(); - this.api.asc_closeCellEditor(); - - for (var i = 0; i < length; ++i) { - if (tabBar.tabs[i].sheetindex === index) { - indTab = i; - - if (direction > 0) { - indTab++; - if (indTab >= length) { - indTab = 0; - } - } else { - indTab--; - if (indTab < 0) { - indTab = length - 1; - } - } - - tabBar.setActive(indTab); - this.api.asc_showWorksheet(tabBar.getAt(indTab).sheetindex); - - break; - } - } - } - }, - // colors onApiUpdateTabColor: function (index) {