Commit 8a899ae9 authored by Sergey.Konovalov's avatar Sergey.Konovalov Committed by Alexander.Trofimov

to Revision: 64885

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64886 954022d7-b5bf-4e40-9824-e11837661b57
parent 766c0da4
......@@ -6866,7 +6866,7 @@ function _downloadAs(editor, command, oDocumentMailMerge, oMailMergeSendData, tx
var cp = {'codepage': c_oAscCodePageUtf8, 'encodings': getEncodingParams()};
editor.asc_fireCallback("asc_onAdvancedOptions", new asc.asc_CAdvancedOptions(c_oAscAdvancedOptionsID.TXT, cp), editor.advancedOptionsAction);
return;
} else if (c_oAscFileType.HTML === filetype) {
} else if (c_oAscFileType.HTML === filetype && null == oDocumentMailMerge && null == oMailMergeSendData) {
var htmlUTF16 = window["asc_docs_api"].prototype["asc_nativeGetHtml"].call(editor);
var oZBase32Encoder = new ZBase32Encoder();
var htmlUTF8 = oZBase32Encoder.GetUTF8_fromUTF16(htmlUTF16);
......
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