Merge pull request #1140 from ONLYOFFICE/fix/bugfix
Revert "[DE] Show full version of viewer for fill form mode"
This commit is contained in:
commit
daacb45cea
|
@ -873,7 +873,8 @@
|
|||
path += app + "/";
|
||||
path += (config.type === "mobile" || isSafari_mobile)
|
||||
? "mobile"
|
||||
: (config.type === "embedded")
|
||||
: (config.type === "embedded" || (app=='documenteditor') && config.document && config.document.permissions && (config.document.permissions.fillForms===true) &&
|
||||
(config.document.permissions.edit === false) && (config.document.permissions.review !== true) && (config.editorConfig.mode !== 'view'))
|
||||
? "embed"
|
||||
: "main";
|
||||
|
||||
|
|
Loading…
Reference in a new issue