mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-27 08:55:31 +08:00
Fix embedded mode for filling forms
This commit is contained in:
@ -866,7 +866,7 @@
|
||||
path += app + "/";
|
||||
path += (config.type === "mobile" || isSafari_mobile)
|
||||
? "mobile"
|
||||
: (config.type === "embedded" || (app=='documenteditor') && (config.document.permissions.fillForms===true) && (config.document.permissions.edit === false) && (config.editorConfig.mode !== 'view'))
|
||||
: (config.type === "embedded" || (app=='documenteditor') && config.document.permissions && (config.document.permissions.fillForms===true) && (config.document.permissions.edit === false) && (config.editorConfig.mode !== 'view'))
|
||||
? "embed"
|
||||
: "main";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user