Commit 8d55a8d0 authored by Julia Radzhabova's avatar Julia Radzhabova

[SSE] Fix Bug 34429.

parent c0f144ad
...@@ -1308,8 +1308,13 @@ define([ ...@@ -1308,8 +1308,13 @@ 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) {
if (!me.api.asc_getCellInfo().asc_getFormatTableInfo()) var formattableinfo = me.api.asc_getCellInfo().asc_getFormatTableInfo();
me._setTableFormat(me.toolbar.mnuTableTemplatePicker.store.at(23).get('name')); if (!formattableinfo) {
if (_.isUndefined(me.toolbar.mnuTableTemplatePicker))
me.onApiInitTableTemplates(me.api.asc_getTablePictures(formattableinfo));
var store = me.getCollection('TableTemplates');
me._setTableFormat(store.at(23).get('name'));
}
} }
return false; return false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment