[SSE] use asc_getCellInfo().asc_getFormatTableInfo() instead of asc_getAddFormatTableOptions to check if a table is selected.

This commit is contained in:
Julia Radzhabova 2016-10-05 18:53:56 +03:00
parent f9613e3a3c
commit 47edb2ef05

View file

@ -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;