Commit b51ce1e4 authored by konovalovsergey's avatar konovalovsergey

fix bug 32480

parent f353dc92
......@@ -2704,6 +2704,7 @@ window["SetDoctRendererParams"] = function(_params)
window["AscCommon"].convertUnicodeToUTF16 = convertUnicodeToUTF16;
window["AscCommon"].convertUTF16toUnicode = convertUTF16toUnicode;
window["AscCommon"].build_local_rx = build_local_rx;
window["AscCommon"].GetFileExtension = GetFileExtension;
window["AscCommon"].changeFileExtention = changeFileExtention;
window["AscCommon"].getExtentionByFormat = getExtentionByFormat;
window["AscCommon"].InitOnMessage = InitOnMessage;
......
......@@ -2093,7 +2093,7 @@ asc_docs_api.prototype.asc_PasteData = function(_format, data1, data2)
"id": this.documentId,
"c": 'pathurl',
"title": this.documentTitle,
"data": 'origin'
"data": 'origin.' + this.documentFormat
};
var t = this;
t.fCurCallback = function(input)
......@@ -7437,6 +7437,9 @@ window["asc_nativeOnSpellCheck"] = function (response)
oAdditionalData["outputformat"] = filetype;
oAdditionalData["title"] = AscCommon.changeFileExtention(this.documentTitle, AscCommon.getExtentionByFormat(filetype));
oAdditionalData["savetype"] = AscCommon.c_oAscSaveTypes.CompleteAll;
if ('savefromorigin' === command) {
oAdditionalData["format"] = this.documentFormat;
}
if (DownloadType.Print === options.downloadType)
{
oAdditionalData["inline"] = 1;
......
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