lab.nexedi.com will be down from Thursday, 20 March 2025, 07:30:00 UTC for a duration of approximately 2 hours

Commit 2035a103 authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

Убрал оставщиеся отрисовки из autofilters.js

Стоит все перепроверить.
getCell -> getCell3

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58844 954022d7-b5bf-4e40-9824-e11837661b57
parent eaf95e73
......@@ -2772,11 +2772,7 @@ var gUndoInsDelCellsFlag = true;
if(!customFilter)
this._addHistoryObj(oldFilter, historyitem_AutoFilter_ApplyMF,
{activeCells: ar, autoFiltersObject: autoFiltersObject});
// ToDo - здесь вызывается и _updateCellsRange в _reDrawFilters, и делается changeWorksheet
// ToDo - от _reDrawFilters в будущем стоит избавиться, ведь она проставляет стили ячейкам, а это не нужно делать (сменить отрисовку)
ws.isChanged = true;
//var activeRange = ws.activeRange.clone();
this._reDrawFilters();
},
......@@ -5676,8 +5672,6 @@ var gUndoInsDelCellsFlag = true;
this._setColorStyleTable(ref, aWs.TableParts[tP]);
}
}
if(!isNUpdate)
ws._updateCellsRange(ws.visibleRange, /*canChangeColWidth*/ c_oAscCanChangeColWidth.none);
},
_sortArrayMinMax: function(elements)
......@@ -7238,8 +7232,7 @@ var gUndoInsDelCellsFlag = true;
}
this._addHistoryObj(oldFilter, historyitem_AutoFilter_CleanAutoFilter, {activeCells: activeCells}, null, activeCells);
ws.isChanged = true;
this._reDrawFilters();
},
......
......@@ -8820,7 +8820,7 @@
var isOneMerge = false;
var startCell = val.getCell( new CellAddress(activeCellsPasteFragment.r1, activeCellsPasteFragment.c1, 0));
var startCell = val.getCell3(activeCellsPasteFragment.r1, activeCellsPasteFragment.c1);
var isMergedStartCell = startCell.hasMerged();
var firstValuesCol;
......
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