Commit 50384cf8 authored by Dmitry.Shahtanov's avatar Dmitry.Shahtanov

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

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