Commit cd7ea30c authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 25588 - [CoEdit] Ошибка в консоли при клике в автофигуру с вставленной гиперссылкой

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57401 954022d7-b5bf-4e40-9824-e11837661b57
parent 2d233733
...@@ -4876,7 +4876,7 @@ PasteProcessor.prototype = ...@@ -4876,7 +4876,7 @@ PasteProcessor.prototype =
if(this.pasteInPresentationShape) if(this.pasteInPresentationShape)
bFromPresentation = true; bFromPresentation = true;
this.oCurPar = new Paragraph(this.oDocument.DrawingDocument, this.oDocument, 0, 50, 50, X_Right_Field, Y_Bottom_Field, bFromPresentation ); this.oCurPar = new Paragraph(this.oDocument.DrawingDocument, this.oDocument, 0, 50, 50, X_Right_Field, Y_Bottom_Field, this.oDocument.bPresentation === true );
this.oCurParContentPos = this.oCurPar.CurPos.ContentPos; this.oCurParContentPos = this.oCurPar.CurPos.ContentPos;
this.oCurRun = new ParaRun(this.oCurPar); this.oCurRun = new ParaRun(this.oCurPar);
this.oCurRunContentPos = 0; this.oCurRunContentPos = 0;
......
...@@ -12464,6 +12464,10 @@ Paragraph.prototype = ...@@ -12464,6 +12464,10 @@ Paragraph.prototype =
this.LogicDocument = this.bFromDocument ? this.DrawingDocument.m_oLogicDocument : null; this.LogicDocument = this.bFromDocument ? this.DrawingDocument.m_oLogicDocument : null;
} }
} }
else
{
CollaborativeEditing.Add_LinkData(this, {});
}
}, },
Load_LinkData : function(LinkData) Load_LinkData : function(LinkData)
......
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