Commit 47188654 authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix bug 32402

parent a9d38e8b
......@@ -1305,5 +1305,6 @@ CComment.prototype =
//--------------------------------------------------------export----------------------------------------------------
window['AscCommon'] = window['AscCommon'] || {};
window['AscCommon'].CCommentData = CCommentData;
window['AscCommon'].CComment = CComment;
window['AscCommon'].ParaComment = ParaComment;
......@@ -3670,7 +3670,7 @@ asc_docs_api.prototype.asc_changeComment = function(Id, AscCommentData)
//if ( false === this.WordControl.m_oLogicDocument.Document_Is_SelectionLocked(changestype_MoveComment, Id ) )
{
var CommentData = new CCommentData();
var CommentData = new AscCommon.CCommentData();
CommentData.Read_FromAscCommentData(AscCommentData);
this.WordControl.m_oLogicDocument.Change_Comment( Id, CommentData );
......
......@@ -1474,5 +1474,6 @@ ParaComment.prototype.Reject_RevisionChanges = function(Type, bAll){};
//--------------------------------------------------------export----------------------------------------------------
window['AscCommon'] = window['AscCommon'] || {};
window['AscCommon'].CCommentData = CCommentData;
window['AscCommon'].CComment = CComment;
window['AscCommon'].ParaComment = ParaComment;
......@@ -5103,7 +5103,7 @@ asc_docs_api.prototype.asc_changeComment = function(Id, AscCommentData)
if ( false === this.WordControl.m_oLogicDocument.Document_Is_SelectionLocked(changestype_None, { Type : AscCommon.changestype_2_Comment, Id : Id } ) )
{
var CommentData = new CCommentData();
var CommentData = new AscCommon.CCommentData();
CommentData.Read_FromAscCommentData(AscCommentData);
this.WordControl.m_oLogicDocument.Create_NewHistoryPoint(AscDFH.historydescription_Document_ChangeComment);
......
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