mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 12:05:33 +08:00
Merge pull request #2897 from ONLYOFFICE/fix/bugfix
[DE] Fix downloading pdf form in viewer
This commit is contained in:
@ -147,7 +147,7 @@ define([
|
||||
var _file_type = _main.document.fileType,
|
||||
_format;
|
||||
if ( !!_file_type ) {
|
||||
if ( /^pdf|xps|oxps|djvu/i.test(_file_type) ) {
|
||||
if ( /^pdf|xps|oxps|djvu/i.test(_file_type) && !_main.appOptions.isPDFForm ) {
|
||||
_main.api.asc_DownloadOrigin();
|
||||
return;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user