Commit 8eea9b78 authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Исправлен баг с корректировкой курсора и контента после принятия/отклонения...

Исправлен баг с корректировкой курсора и контента после принятия/отклонения изменений рецензирования (баг 31060).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66636 954022d7-b5bf-4e40-9824-e11837661b57
parent 45d2b3a5
......@@ -1433,7 +1433,10 @@ ParaComment.prototype =
this.Start = Reader.GetBool();
}
};
ParaComment.prototype.Get_CurrentParaPos = function()
{
return new CParaPos(this.StartRange, this.StartLine, 0, 0);
};
//----------------------------------------------------------------------------------------------------------------------
// Разное
//----------------------------------------------------------------------------------------------------------------------
......
......@@ -13465,6 +13465,8 @@ Paragraph.prototype.Accept_RevisionChanges = function(Type, bAll)
this.Content[CurPos].Accept_RevisionChanges(Type, bAll);
}
this.Correct_Content();
this.Correct_ContentPos(false);
this.private_UpdateTrackRevisions();
}
};
......@@ -13501,6 +13503,8 @@ Paragraph.prototype.Reject_RevisionChanges = function(Type, bAll)
this.Content[CurPos].Reject_RevisionChanges(Type, bAll);
}
this.Correct_Content();
this.Correct_ContentPos(false);
this.private_UpdateTrackRevisions();
}
};
......
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