[DE] Fill forms only in oform format
This commit is contained in:
parent
64e02d14d8
commit
eec4f09a70
|
@ -884,10 +884,11 @@
|
||||||
? "mobile" : config.document.permissions && (config.document.permissions.fillForms === true) && (config.editorConfig.mode !== 'view')
|
? "mobile" : config.document.permissions && (config.document.permissions.fillForms === true) && (config.editorConfig.mode !== 'view')
|
||||||
? "forms" : "embed";
|
? "forms" : "embed";
|
||||||
} else {
|
} 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)
|
path_type = (config.type === "mobile" || isSafari_mobile)
|
||||||
? "mobile" : ((app==='documenteditor') && config.document && config.document.permissions && (config.document.permissions.fillForms===true) &&
|
? "mobile" : (config.type === "embedded")
|
||||||
(config.document.permissions.edit === false) && (config.document.permissions.review !== true) && (config.editorConfig.mode !== 'view'))
|
|
||||||
? "forms" : (config.type === "embedded")
|
|
||||||
? "embed" : "main";
|
? "embed" : "main";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue