From d80e045181683fc3c3295a8e75f1e06c7885cebe Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Fri, 14 Jul 2017 15:40:48 +0300 Subject: [PATCH] [SSE] Set pivot style. --- apps/spreadsheeteditor/main/app/controller/PivotTable.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/controller/PivotTable.js b/apps/spreadsheeteditor/main/app/controller/PivotTable.js index 4360e6ff7..563fac4be 100644 --- a/apps/spreadsheeteditor/main/app/controller/PivotTable.js +++ b/apps/spreadsheeteditor/main/app/controller/PivotTable.js @@ -134,9 +134,9 @@ define([ Common.NotificationCenter.trigger('edit:complete', this); }, - onPivotStyleSelect: function(combo, record){ + onPivotStyleSelect: function(record){ if (this.api && !this._noApply) { - // this.api.asc_changeAutoFilter(this._state.TableName, Asc.c_oAscChangeFilterOptions.style, record.get('name')); + this._originalProps.asc_getStyleInfo().asc_setName(this.api, this._originalProps, record.get('name')); } Common.NotificationCenter.trigger('edit:complete', this); },