Commit da55706d authored by Dmitry.Shahtanov's avatar Dmitry.Shahtanov Committed by Alexander.Trofimov

дополнительно для 67663

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@67681 954022d7-b5bf-4e40-9824-e11837661b57
parent a39eea09
......@@ -11305,6 +11305,7 @@
WorksheetView.prototype.addFormulaRange = function(range) {
var r = range !== undefined ? range : new asc_ActiveRange(this.activeRange.c1, this.activeRange.r1, this.activeRange.c2, this.activeRange.r2);
this.arrActiveFormulaRanges.push(r);
this.arrActiveFormulaRangesPosition = this.arrActiveFormulaRanges.length - 1;
this._fixSelectionOfMergedCells();
};
......@@ -11313,9 +11314,6 @@
for (var i = 0; i < this.arrActiveFormulaRanges.length; ++i) {
if (this.arrActiveFormulaRanges[i].isEqual(range)) {
this.arrActiveFormulaRangesPosition = i;
/*var r = this.arrActiveFormulaRanges[i];
this.arrActiveFormulaRanges.splice(i, 1);
this.arrActiveFormulaRanges.push(r);*/
return;
}
}
......
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