Commit b9c96e19 authored by Igor.Zotov's avatar Igor.Zotov

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

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

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@59739 954022d7-b5bf-4e40-9824-e11837661b57
parent 7924aaa8
......@@ -2389,7 +2389,7 @@ var gUndoInsDelCellsFlag = true;
}
else if(DeleteRows)
{
if(!this.checkRemoveTableParts(activeCells, tableRange))
if(!this.checkRemoveTableParts(newActiveRange, tableRange))
{
ws.model.workbook.handlers.trigger("asc_onError", c_oAscError.ID.AutoFilterChangeFormatTableError, c_oAscError.Level.NoCritical);
return false;
......@@ -5291,6 +5291,10 @@ var gUndoInsDelCellsFlag = true;
{
isDelFilter = true;
}
else if(type === 'insRow' && activeRange.c1 <= splitRefFilter.c1 && activeRange.c2 >= splitRefFilter.c2 && activeRange.r1 <= splitRefFilter.r1 && activeRange.r2 >= splitRefFilter.r1)//под удаление попадает первая строка
{
isDelFilter = true;
}
if(isDelFilter)
{
/*activeRange =
......
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