[SSE] delete method asc_clone.

This commit is contained in:
Julia Radzhabova 2017-08-08 17:03:09 +03:00
parent d74ca2e8e9
commit b4273408e1
3 changed files with 3 additions and 3 deletions

View file

@ -181,7 +181,7 @@ define([
onPivotGrandTotals: function(type){
if (this.api) {
var props = this._originalProps.asc_clone();
var props = new Asc.CT_pivotTableDefinition();
props.asc_setColGrandTotals(type == 1 || type == 2);
props.asc_setRowGrandTotals(type == 1 || type == 3);
this._originalProps.asc_set(this.api, props);

View file

@ -216,7 +216,7 @@ define([ 'text!spreadsheeteditor/main/app/template/PivotSettingsAdvanced.temp
},
getSettings: function () {
var props = this.props.asc_clone();
var props = new Asc.CT_pivotTableDefinition();
props.asc_setRowGrandTotals(this.chCols.getValue() == 'checked');
props.asc_setColGrandTotals(this.chRows.getValue() == 'checked');

View file

@ -239,7 +239,7 @@ define([
},
getSettings: function () {
var field = this.field.asc_clone();
var field = new Asc.CT_DataField();
field.asc_setName(this.inputCustomName.getValue());
field.asc_setSubtotal(this.cmbSummarize.getValue());