[SSE] delete method asc_clone.
This commit is contained in:
parent
d74ca2e8e9
commit
b4273408e1
|
@ -181,7 +181,7 @@ define([
|
||||||
|
|
||||||
onPivotGrandTotals: function(type){
|
onPivotGrandTotals: function(type){
|
||||||
if (this.api) {
|
if (this.api) {
|
||||||
var props = this._originalProps.asc_clone();
|
var props = new Asc.CT_pivotTableDefinition();
|
||||||
props.asc_setColGrandTotals(type == 1 || type == 2);
|
props.asc_setColGrandTotals(type == 1 || type == 2);
|
||||||
props.asc_setRowGrandTotals(type == 1 || type == 3);
|
props.asc_setRowGrandTotals(type == 1 || type == 3);
|
||||||
this._originalProps.asc_set(this.api, props);
|
this._originalProps.asc_set(this.api, props);
|
||||||
|
|
|
@ -216,7 +216,7 @@ define([ 'text!spreadsheeteditor/main/app/template/PivotSettingsAdvanced.temp
|
||||||
},
|
},
|
||||||
|
|
||||||
getSettings: function () {
|
getSettings: function () {
|
||||||
var props = this.props.asc_clone();
|
var props = new Asc.CT_pivotTableDefinition();
|
||||||
props.asc_setRowGrandTotals(this.chCols.getValue() == 'checked');
|
props.asc_setRowGrandTotals(this.chCols.getValue() == 'checked');
|
||||||
props.asc_setColGrandTotals(this.chRows.getValue() == 'checked');
|
props.asc_setColGrandTotals(this.chRows.getValue() == 'checked');
|
||||||
|
|
||||||
|
|
|
@ -239,7 +239,7 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
getSettings: function () {
|
getSettings: function () {
|
||||||
var field = this.field.asc_clone();
|
var field = new Asc.CT_DataField();
|
||||||
field.asc_setName(this.inputCustomName.getValue());
|
field.asc_setName(this.inputCustomName.getValue());
|
||||||
field.asc_setSubtotal(this.cmbSummarize.getValue());
|
field.asc_setSubtotal(this.cmbSummarize.getValue());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue