[SSE] Fix c_oAscItemType.Count/CountA usage
This commit is contained in:
parent
2dba61a1a2
commit
41f7b15a4b
|
@ -251,7 +251,7 @@ define([ 'text!spreadsheeteditor/main/app/template/FieldSettingsDialog.templa
|
||||||
me.chSum.setValue(true);
|
me.chSum.setValue(true);
|
||||||
break;
|
break;
|
||||||
case Asc.c_oAscItemType.Count:
|
case Asc.c_oAscItemType.Count:
|
||||||
me.chCount.setValue(true);
|
me.chNum.setValue(true);
|
||||||
break;
|
break;
|
||||||
case Asc.c_oAscItemType.Avg:
|
case Asc.c_oAscItemType.Avg:
|
||||||
me.chAve.setValue(true);
|
me.chAve.setValue(true);
|
||||||
|
@ -266,7 +266,7 @@ define([ 'text!spreadsheeteditor/main/app/template/FieldSettingsDialog.templa
|
||||||
me.chProduct.setValue(true);
|
me.chProduct.setValue(true);
|
||||||
break;
|
break;
|
||||||
case Asc.c_oAscItemType.CountA:
|
case Asc.c_oAscItemType.CountA:
|
||||||
me.chNum.setValue(true);
|
me.chCount.setValue(true);
|
||||||
break;
|
break;
|
||||||
case Asc.c_oAscItemType.StdDev:
|
case Asc.c_oAscItemType.StdDev:
|
||||||
me.chDev.setValue(true);
|
me.chDev.setValue(true);
|
||||||
|
@ -306,7 +306,7 @@ define([ 'text!spreadsheeteditor/main/app/template/FieldSettingsDialog.templa
|
||||||
if (this.chSum.getValue() == 'checked') {
|
if (this.chSum.getValue() == 'checked') {
|
||||||
arr.push(Asc.c_oAscItemType.Sum);
|
arr.push(Asc.c_oAscItemType.Sum);
|
||||||
}
|
}
|
||||||
if (this.chCount.getValue() == 'checked') {
|
if (this.chNum.getValue() == 'checked') {
|
||||||
arr.push(Asc.c_oAscItemType.Count);
|
arr.push(Asc.c_oAscItemType.Count);
|
||||||
}
|
}
|
||||||
if (this.chAve.getValue() == 'checked') {
|
if (this.chAve.getValue() == 'checked') {
|
||||||
|
@ -321,7 +321,7 @@ define([ 'text!spreadsheeteditor/main/app/template/FieldSettingsDialog.templa
|
||||||
if (this.chProduct.getValue() == 'checked') {
|
if (this.chProduct.getValue() == 'checked') {
|
||||||
arr.push(Asc.c_oAscItemType.Product);
|
arr.push(Asc.c_oAscItemType.Product);
|
||||||
}
|
}
|
||||||
if (this.chNum.getValue() == 'checked') {
|
if (this.chCount.getValue() == 'checked') {
|
||||||
arr.push(Asc.c_oAscItemType.CountA);
|
arr.push(Asc.c_oAscItemType.CountA);
|
||||||
}
|
}
|
||||||
if (this.chDev.getValue() == 'checked') {
|
if (this.chDev.getValue() == 'checked') {
|
||||||
|
|
Loading…
Reference in a new issue