[DE] Fix download as docx
This commit is contained in:
parent
85b5d88c12
commit
1a5ac4ffcc
|
@ -331,6 +331,7 @@ define([
|
||||||
var opts = new Asc.asc_CDownloadOptions(Asc.c_oAscFileType.DOCX);
|
var opts = new Asc.asc_CDownloadOptions(Asc.c_oAscFileType.DOCX);
|
||||||
opts.asc_setCompatible(!!Common.Utils.InternalSettings.get("de-settings-compatible"));
|
opts.asc_setCompatible(!!Common.Utils.InternalSettings.get("de-settings-compatible"));
|
||||||
this.api.asc_DownloadAs(opts);
|
this.api.asc_DownloadAs(opts);
|
||||||
|
menu.hide();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.api.asc_DownloadAs(new Asc.asc_CDownloadOptions(format));
|
this.api.asc_DownloadAs(new Asc.asc_CDownloadOptions(format));
|
||||||
|
@ -382,6 +383,7 @@ define([
|
||||||
var opts = new Asc.asc_CDownloadOptions(Asc.c_oAscFileType.DOCX, true);
|
var opts = new Asc.asc_CDownloadOptions(Asc.c_oAscFileType.DOCX, true);
|
||||||
opts.asc_setCompatible(!!Common.Utils.InternalSettings.get("de-settings-compatible"));
|
opts.asc_setCompatible(!!Common.Utils.InternalSettings.get("de-settings-compatible"));
|
||||||
this.api.asc_DownloadAs(opts);
|
this.api.asc_DownloadAs(opts);
|
||||||
|
menu.hide();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.isFromFileDownloadAs = ext;
|
this.isFromFileDownloadAs = ext;
|
||||||
|
|
Loading…
Reference in a new issue