[DE] Fix mail merge

This commit is contained in:
Julia Radzhabova 2019-02-27 15:10:09 +03:00
parent cc4790ff70
commit 4bbe48ce59

View file

@ -546,7 +546,7 @@ define([
if (this.cmbMergeTo.getValue() != Asc.c_oAscFileType.HTML) {
me._mailMergeDlg = new Common.Views.SaveAsDlg({
saveFolderUrl: me.mode.mergeFolderUrl,
savedFileUrl: url,
saveFileUrl: url,
defFileName: me.defFileName + ((this.cmbMergeTo.getValue() == Asc.c_oAscFileType.PDF) ? '.pdf' : '.docx')
});
me._mailMergeDlg.on('saveasfolder', function(obj, folder){ // save last folder