Skip to content

Commit

Permalink
Merge pull request #2897 from ONLYOFFICE/fix/bugfix
Browse files Browse the repository at this point in the history
[DE] Fix downloading pdf form in viewer
  • Loading branch information
JuliaRadzhabova authored Mar 25, 2024
2 parents 7556504 + 9e17fbc commit 770a4ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/documenteditor/main/app/controller/Toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 770a4ea

Please sign in to comment.