Fixed Bug 69784: JS-SDK: Added file flag for shared files at editor and viewer modes
This commit is contained in:
parent
0ebe5cd4dc
commit
62d4814ead
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user