[DE] Fix Bug 55089
This commit is contained in:
parent
566f58a09b
commit
116e364efb
|
@ -373,17 +373,21 @@ define([
|
||||||
} else if (format == Asc.c_oAscFileType.PDF || format == Asc.c_oAscFileType.PDFA)
|
} else if (format == Asc.c_oAscFileType.PDF || format == Asc.c_oAscFileType.PDFA)
|
||||||
this._saveAsFormat(menu, format, ext);
|
this._saveAsFormat(menu, format, ext);
|
||||||
else {
|
else {
|
||||||
Common.UI.warning({
|
if (format == Asc.c_oAscFileType.TXT || format == Asc.c_oAscFileType.RTF) // don't show message about pdf/xps/oxps
|
||||||
width: 600,
|
me._saveAsFormat(menu, format, ext, new AscCommon.asc_CTextParams(Asc.c_oAscTextAssociation.PlainLine));
|
||||||
title: this.notcriticalErrorTitle,
|
else {
|
||||||
msg: Common.Utils.String.format(this.warnDownloadAsPdf, fileType.toUpperCase()),
|
Common.UI.warning({
|
||||||
buttons: ['ok', 'cancel'],
|
width: 600,
|
||||||
callback: _.bind(function(btn){
|
title: this.notcriticalErrorTitle,
|
||||||
if (btn == 'ok') {
|
msg: Common.Utils.String.format(this.warnDownloadAsPdf, fileType.toUpperCase()),
|
||||||
me._saveAsFormat(menu, format, ext, new AscCommon.asc_CTextParams(Asc.c_oAscTextAssociation.PlainLine));
|
buttons: ['ok', 'cancel'],
|
||||||
}
|
callback: _.bind(function(btn){
|
||||||
}, this)
|
if (btn == 'ok') {
|
||||||
});
|
me._saveAsFormat(menu, format, ext, new AscCommon.asc_CTextParams(Asc.c_oAscTextAssociation.PlainLine));
|
||||||
|
}
|
||||||
|
}, this)
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
this._saveAsFormat(menu, format, ext);
|
this._saveAsFormat(menu, format, ext);
|
||||||
|
|
Loading…
Reference in a new issue