From 52ec352dd40cc816596b0e0c044aa8cf80c8a049 Mon Sep 17 00:00:00 2001 From: "Alexander.Trofimov" Date: Fri, 14 Jul 2017 11:00:56 +0300 Subject: [PATCH] put -> set --- apps/spreadsheeteditor/main/app/controller/PivotTable.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/spreadsheeteditor/main/app/controller/PivotTable.js b/apps/spreadsheeteditor/main/app/controller/PivotTable.js index 725f3468c..ae3ecfae9 100644 --- a/apps/spreadsheeteditor/main/app/controller/PivotTable.js +++ b/apps/spreadsheeteditor/main/app/controller/PivotTable.js @@ -115,16 +115,16 @@ define([ // for test switch (type) { case 0: - this._originalProps.asc_getStyleInfo().asc_putShowRowHeaders(value=='checked'); + this._originalProps.asc_getStyleInfo().asc_setShowRowHeaders(this.api, this._originalProps, value=='checked'); break; case 1: - this._originalProps.asc_getStyleInfo().asc_putShowColHeaders(value=='checked'); + this._originalProps.asc_getStyleInfo().asc_setShowColHeaders(this.api, this._originalProps, value=='checked'); break; case 2: - this._originalProps.asc_getStyleInfo().asc_putShowRowBanded(value=='checked'); + this._originalProps.asc_getStyleInfo().asc_setShowRowStripes(this.api, this._originalProps, value=='checked'); break; case 3: - this._originalProps.asc_getStyleInfo().asc_putShowColBanded(value=='checked'); + this._originalProps.asc_getStyleInfo().asc_setShowColStripes(this.api, this._originalProps, value=='checked'); break; } // this.onApiInitPivotStyles(this.api.asc_getTablePictures(this._originalProps.asc_getStyleInfo(), true));