Merge pull request #1108 from ONLYOFFICE/fix/fill-forms

[DE] Show full version of  viewer for fill form mode
This commit is contained in:
Julia Radzhabova 2021-08-20 21:56:53 +03:00 committed by GitHub
commit 1557321fdf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -870,8 +870,7 @@
path += app + "/"; path += app + "/";
path += (config.type === "mobile" || isSafari_mobile) path += (config.type === "mobile" || isSafari_mobile)
? "mobile" ? "mobile"
: (config.type === "embedded" || (app=='documenteditor') && config.document && config.document.permissions && (config.document.permissions.fillForms===true) && : (config.type === "embedded")
(config.document.permissions.edit === false) && (config.document.permissions.review !== true) && (config.editorConfig.mode !== 'view'))
? "embed" ? "embed"
: "main"; : "main";