Fix Bug 50924
This commit is contained in:
parent
41d95920a7
commit
cbb10c939c
|
@ -866,7 +866,8 @@
|
||||||
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.document.permissions.edit === false) && (config.editorConfig.mode !== 'view'))
|
: (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"
|
? "embed"
|
||||||
: "main";
|
: "main";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue