Commit 316be174 authored by GoshaZotov's avatar GoshaZotov

fix bug 32668 - Опечатка в функции SUBTOTAL в структуре документа после...

fix bug 32668 - Опечатка в функции SUBTOTAL в структуре документа после ручного изменения формулы в редакторе
parent 6f2836ad
...@@ -5345,8 +5345,12 @@ TableColumn.prototype.cleanTotalsData = function(){ ...@@ -5345,8 +5345,12 @@ TableColumn.prototype.cleanTotalsData = function(){
TableColumn.prototype.setTotalsRowFormula = function(val){ TableColumn.prototype.setTotalsRowFormula = function(val){
this.cleanTotalsData(); this.cleanTotalsData();
if("=" === val[0])
{
val = val.substring(1);
}
this.TotalsRowFormula = val.substring(1); this.TotalsRowFormula = val;
this.TotalsRowFunction = Asc.ETotalsRowFunction.totalrowfunctionCustom; this.TotalsRowFunction = Asc.ETotalsRowFunction.totalrowfunctionCustom;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment