[SSE] Fix Bug 35854.
This commit is contained in:
parent
d0ce09c50f
commit
571bab99cd
|
@ -1392,8 +1392,11 @@ define([
|
||||||
shortcuts: {
|
shortcuts: {
|
||||||
'command+l,ctrl+l': function(e) {
|
'command+l,ctrl+l': function(e) {
|
||||||
if ( me.editMode && !me._state.multiselect ) {
|
if ( me.editMode && !me._state.multiselect ) {
|
||||||
var formattableinfo = me.api.asc_getCellInfo().asc_getFormatTableInfo();
|
var cellinfo = me.api.asc_getCellInfo(),
|
||||||
if (!formattableinfo) {
|
filterinfo = cellinfo.asc_getAutoFilterInfo(),
|
||||||
|
formattableinfo = cellinfo.asc_getFormatTableInfo();
|
||||||
|
filterinfo = (filterinfo) ? filterinfo.asc_getIsAutoFilter() : null;
|
||||||
|
if (filterinfo!==null && !formattableinfo) {
|
||||||
if (_.isUndefined(me.toolbar.mnuTableTemplatePicker))
|
if (_.isUndefined(me.toolbar.mnuTableTemplatePicker))
|
||||||
me.onApiInitTableTemplates(me.api.asc_getTablePictures(formattableinfo));
|
me.onApiInitTableTemplates(me.api.asc_getTablePictures(formattableinfo));
|
||||||
var store = me.getCollection('TableTemplates');
|
var store = me.getCollection('TableTemplates');
|
||||||
|
|
Loading…
Reference in a new issue