mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 07:31:55 +08:00
[DE] Fill forms only in oform format
This commit is contained in:
@ -884,10 +884,11 @@
|
||||
? "mobile" : config.document.permissions && (config.document.permissions.fillForms === true) && (config.editorConfig.mode !== 'view')
|
||||
? "forms" : "embed";
|
||||
} else {
|
||||
if (app==='documenteditor' && config.document && config.document.permissions && (config.document.permissions.edit === false) && (config.document.permissions.review !== true)) {
|
||||
config.document.permissions.fillForms = false;
|
||||
}
|
||||
path_type = (config.type === "mobile" || isSafari_mobile)
|
||||
? "mobile" : ((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'))
|
||||
? "forms" : (config.type === "embedded")
|
||||
? "mobile" : (config.type === "embedded")
|
||||
? "embed" : "main";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user