Commit 64638c6b authored by Dmitry.Shahtanov's avatar Dmitry.Shahtanov

при undo удаленной ячейки с формулой, не восстанавливалось значение

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49813 954022d7-b5bf-4e40-9824-e11837661b57
parent 4ec6ecf2
...@@ -4072,6 +4072,12 @@ Cell.prototype.setValue=function(val,callback){ ...@@ -4072,6 +4072,12 @@ Cell.prototype.setValue=function(val,callback){
needRecalc = true; needRecalc = true;
wb.cwf[ws.Id].cells[this.oId.getID()] = this.oId.getID(); wb.cwf[ws.Id].cells[this.oId.getID()] = this.oId.getID();
ar[this.oId.getID()] = this.oId.getID(); ar[this.oId.getID()] = this.oId.getID();
if( !arrRecalc[this.ws.getId()] ){
arrRecalc[this.ws.getId()] = {};
}
arrRecalc[this.ws.getId()][this.oId.getID()] = this.oId.getID();
wb.needRecalc[ getVertexId(this.ws.getId(),this.oId.getID()) ] = [ this.ws.getId(),this.oId.getID() ];
wb.needRecalc.length++;
} }
this.sFormula = null; this.sFormula = null;
this.setFormulaCA(false); this.setFormulaCA(false);
......
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