[SSE] Fix Bug 41802
This commit is contained in:
parent
d912430694
commit
bc07f3d748
|
@ -1450,7 +1450,7 @@ define([
|
|||
if (_.isUndefined(me.toolbar.mnuTableTemplatePicker))
|
||||
me.onApiInitTableTemplates(me.api.asc_getTablePictures(formattableinfo));
|
||||
var store = me.getCollection('TableTemplates');
|
||||
me._setTableFormat(store.at(23).get('name'));
|
||||
me._setTableFormat(me.api.asc_getDefaultTableStyle());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1531,9 +1531,7 @@ define([
|
|||
picker.on('item:click', function(picker, item, record) {
|
||||
if (me.api) {
|
||||
me._state.tablestylename = null;
|
||||
if (!record)
|
||||
record = picker.store.at(23);
|
||||
me._setTableFormat(record.get('name'));
|
||||
me._setTableFormat(record ? record.get('name') : me.api.asc_getDefaultTableStyle());
|
||||
|
||||
Common.NotificationCenter.trigger('edit:complete', me.toolbar);
|
||||
Common.component.Analytics.trackEvent('ToolBar', 'Table Templates');
|
||||
|
|
Loading…
Reference in a new issue