From 47edb2ef0593bde767503b22dc6c87ab764af579 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Wed, 5 Oct 2016 18:53:56 +0300 Subject: [PATCH] [SSE] use asc_getCellInfo().asc_getFormatTableInfo() instead of asc_getAddFormatTableOptions to check if a table is selected. --- apps/spreadsheeteditor/main/app/controller/Toolbar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/spreadsheeteditor/main/app/controller/Toolbar.js b/apps/spreadsheeteditor/main/app/controller/Toolbar.js index 8e4845781..bd2b39d10 100644 --- a/apps/spreadsheeteditor/main/app/controller/Toolbar.js +++ b/apps/spreadsheeteditor/main/app/controller/Toolbar.js @@ -2159,7 +2159,7 @@ define([ var me = this; if (me.api.isRangeSelection !== true) { - if (me.api.asc_getAddFormatTableOptions() != false) { + if (!me.api.asc_getCellInfo().asc_getFormatTableInfo()) { var handlerDlg = function(dlg, result) { if (result == 'ok') { me._state.filter = undefined;