Commit 26e99a2e authored by Igor.Zotov's avatar Igor.Zotov Committed by Alexander.Trofimov

http://bugzserver/show_bug.cgi?id=27792 - [CoEdit] Остаются данные и...

http://bugzserver/show_bug.cgi?id=27792 -  [CoEdit] Остаются данные и заголовок форматированной таблицы после применения undo для отмены ее вставки

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60350 954022d7-b5bf-4e40-9824-e11837661b57
parent f3937123
...@@ -335,6 +335,8 @@ var gUndoInsDelCellsFlag = true; ...@@ -335,6 +335,8 @@ var gUndoInsDelCellsFlag = true;
if(isTurnOffHistory) if(isTurnOffHistory)
History.TurnOff(); History.TurnOff();
History.StartTransaction();
History.Create_NewPoint(); History.Create_NewPoint();
if(selectionTable) if(selectionTable)
{ {
...@@ -346,7 +348,6 @@ var gUndoInsDelCellsFlag = true; ...@@ -346,7 +348,6 @@ var gUndoInsDelCellsFlag = true;
History.SetSelectionRedo(oSelection); History.SetSelectionRedo(oSelection);
} }
} }
History.StartTransaction();
if(rangeShift && rangeShift.r1 != undefined) if(rangeShift && rangeShift.r1 != undefined)
rangeShift = ws.model.getRange3(rangeShift.r1, rangeShift.c1, rangeShift.r1, rangeShift.c2); rangeShift = ws.model.getRange3(rangeShift.r1, rangeShift.c1, rangeShift.r1, rangeShift.c2);
......
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