From a77a6c38f6f9720edae8a44d136d75047ab82e28 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 17 Sep 2020 00:15:17 +0300 Subject: [PATCH] [SSE] Bug 42429 --- apps/spreadsheeteditor/main/app/view/TableSettings.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/view/TableSettings.js b/apps/spreadsheeteditor/main/app/view/TableSettings.js index 8943c8f61..c0dd4a6cd 100644 --- a/apps/spreadsheeteditor/main/app/view/TableSettings.js +++ b/apps/spreadsheeteditor/main/app/view/TableSettings.js @@ -462,10 +462,7 @@ define([ onSendThemeColors: function() { // get new table templates - if (this.cmbTableTemplate) { - this.onApiInitTableTemplates(this.api.asc_getTablePictures(this._originalProps)); - this.cmbTableTemplate.menuPicker.scroller.update({alwaysVisibleY: true}); - } + this.btnTableTemplate && this.onApiInitTableTemplates(this.api.asc_getTablePictures(this._originalProps)); }, onApiInitTableTemplates: function(Templates){