Commit 44ccf945 authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Исправлен баг с добавлением комментария к пустому документу (баг 16986).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56170 954022d7-b5bf-4e40-9824-e11837661b57
parent cb2bcc6b
......@@ -12395,6 +12395,9 @@ CDocument.prototype =
CommentData.Set_QuoteText(null);
var Comment = new CComment( this.Comments, CommentData );
this.Comments.Add( Comment );
// Обновляем информацию для Undo/Redo
this.Document_UpdateInterfaceState();
}
else
{
......@@ -12464,7 +12467,7 @@ CDocument.prototype =
if ( true === Debug_ParaRunMode )
{
// TODO: Продумать, как избавиться от пересчета
this.Recalculate();
this.Recalculate();
}
else
{
......
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