[SSE] use asc_getCellInfo().asc_getFormatTableInfo() instead of asc_getAddFormatTableOptions to check if a table is selected.
This commit is contained in:
parent
f9613e3a3c
commit
47edb2ef05
|
@ -2159,7 +2159,7 @@ define([
|
||||||
var me = this;
|
var me = this;
|
||||||
|
|
||||||
if (me.api.isRangeSelection !== true) {
|
if (me.api.isRangeSelection !== true) {
|
||||||
if (me.api.asc_getAddFormatTableOptions() != false) {
|
if (!me.api.asc_getCellInfo().asc_getFormatTableInfo()) {
|
||||||
var handlerDlg = function(dlg, result) {
|
var handlerDlg = function(dlg, result) {
|
||||||
if (result == 'ok') {
|
if (result == 'ok') {
|
||||||
me._state.filter = undefined;
|
me._state.filter = undefined;
|
||||||
|
|
Loading…
Reference in a new issue