Commit 082a14e6 authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

http://bugzserver/show_bug.cgi?id=29022 - Ошибка в консоли при применении...

http://bugzserver/show_bug.cgi?id=29022 - Ошибка в консоли при применении форматированной таблицы к столбцу все ячейки которого объединены

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@63887 954022d7-b5bf-4e40-9824-e11837661b57
parent bd5ca071
...@@ -316,6 +316,12 @@ var maxIndividualValues = 10000; ...@@ -316,6 +316,12 @@ var maxIndividualValues = 10000;
} }
else else
{ {
if(addNameColumn && filterRange.r2 >= gc_nMaxRow)
filterRange.r2 = gc_nMaxRow - 1;
if(styleName)
aWs.getRange3(filterRange.r1, filterRange.c1, filterRange.r2, filterRange.c2).unmerge();
if(addNameColumn && !isTurnOffHistory) if(addNameColumn && !isTurnOffHistory)
{ {
if(t._isEmptyCellsUnderRange(rangeWithoutDiff)) if(t._isEmptyCellsUnderRange(rangeWithoutDiff))
...@@ -329,9 +335,6 @@ var maxIndividualValues = 10000; ...@@ -329,9 +335,6 @@ var maxIndividualValues = 10000;
t.insertRows("insCell", new Asc.Range(filterRange.c1, filterRange.r2, filterRange.c2, filterRange.r2), c_oAscInsertOptions.InsertCellsAndShiftDown); t.insertRows("insCell", new Asc.Range(filterRange.c1, filterRange.r2, filterRange.c2, filterRange.r2), c_oAscInsertOptions.InsertCellsAndShiftDown);
} }
} }
if(styleName)
aWs.getRange3(filterRange.r1, filterRange.c1, filterRange.r2, filterRange.c2).unmerge();
//add to model //add to model
t._addNewFilter(filterRange, styleName, bWithoutFilter); t._addNewFilter(filterRange, styleName, bWithoutFilter);
......
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