mirror of
https://github.com/ONLYOFFICE/server.git
synced 2026-04-07 14:04:35 +08:00
[bug] Fix image upload in pdf editor; Fix bug 64240
This commit is contained in:
@ -101,7 +101,8 @@ function checkJwtUploadTransformRes(ctx, errorName, checkJwtRes){
|
||||
if (checkJwtRes.decoded) {
|
||||
var doc = checkJwtRes.decoded.document;
|
||||
var edit = checkJwtRes.decoded.editorConfig;
|
||||
if (!edit.ds_view && !edit.ds_isCloseCoAuthoring) {
|
||||
//todo check view and pdf editor (temporary fix)
|
||||
if (!edit.ds_isCloseCoAuthoring) {
|
||||
res.err = false;
|
||||
res.docId = doc.key;
|
||||
res.encrypted = doc.ds_encrypted;
|
||||
|
||||
Reference in New Issue
Block a user