Fixed Bug 69784: JS-SDK: Added file flag for shared files at editor and viewer modes

This commit is contained in:
Ilya Oleshko 2024-08-21 14:20:36 +03:00
parent 0ebe5cd4dc
commit 62d4814ead

View File

@ -489,7 +489,7 @@
path = `/doceditor/?fileId=${config.id}&editorType=${config.editorType}&editorGoBack=${goBack}&customization=${customization}`;
if (config.requestToken) {
path = `${path}&share=${config.requestToken}`;
path = `${path}&share=${config.requestToken}&is_file=true`;
}
break;
@ -515,7 +515,7 @@
path = `/doceditor/?fileId=${config.id}&editorType=${config.editorType}&action=view&editorGoBack=${goBack}&customization=${customization}`;
if (config.requestToken) {
path = `${path}&share=${config.requestToken}`;
path = `${path}&share=${config.requestToken}&is_file=true`;
}
break;