[SSE] Update pivot templates.

This commit is contained in:
Julia Radzhabova 2017-07-14 14:17:16 +03:00
parent e36c7ef07d
commit c53d5629d6

View file

@ -178,7 +178,7 @@ define([
} }
if (needTablePictures) if (needTablePictures)
this.onApiInitPivotStyles(this.api.asc_getTablePictures(styleInfo, true)); this.onApiInitPivotStyles(this.api.asc_getTablePictures(this._originalProps, true));
//for table-template //for table-template
value = styleInfo.asc_getName(); value = styleInfo.asc_getName();
@ -205,7 +205,7 @@ define([
onSendThemeColors: function() { onSendThemeColors: function() {
// get new table templates // get new table templates
if (this.view.pivotStyles && this._originalProps) { if (this.view.pivotStyles && this._originalProps) {
this.onApiInitPivotStyles(this.api.asc_getTablePictures(this._originalProps.asc_getStyleInfo(), true)); this.onApiInitPivotStyles(this.api.asc_getTablePictures(this._originalProps, true));
this.view.pivotStyles.menuPicker.scroller.update({alwaysVisibleY: true}); this.view.pivotStyles.menuPicker.scroller.update({alwaysVisibleY: true});
} }
}, },