Commit 5aca5006 authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Исправлен баг 29661.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@63306 954022d7-b5bf-4e40-9824-e11837661b57
parent 6745bba7
......@@ -592,7 +592,7 @@ asc_docs_api.prototype.LoadFontsFromServer = function(_fonts)
asc_docs_api.prototype.SetCollaborativeMarksShowType = function(Type)
{
if (c_oAscCollaborativeMarksShowType.None !== this.CollaborativeMarksShowType && c_oAscCollaborativeMarksShowType.None === Type)
if (c_oAscCollaborativeMarksShowType.None !== this.CollaborativeMarksShowType && c_oAscCollaborativeMarksShowType.None === Type && this.WordControl && this.WordControl.m_oLogicDocument)
{
this.CollaborativeMarksShowType = Type;
CollaborativeEditing.Clear_CollaborativeMarks(true);
......@@ -7136,6 +7136,7 @@ function _downloadAs(editor, command, oDocumentMailMerge, oMailMergeSendData, fi
if (null == oDocumentMailMerge && c_oAscFileType.PDF === filetype) {
var dd = editor.WordControl.m_oDrawingDocument;
oAdditionalData["data"] = dd.ToRendererPart();
//console.log(oAdditionalData["data"]);
} else if (c_oAscFileType.JSON === filetype) {
oAdditionalData['url'] = editor.mailMergeFileData['url'];
oAdditionalData['format'] = editor.mailMergeFileData['fileType'];
......
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