mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
Fix send params to frame
This commit is contained in:
@ -229,10 +229,6 @@
|
||||
margin = (customer !== '') ? 50 : 20,
|
||||
loading = 'Loading...',
|
||||
logo = params["logo"] ? ((params["logo"] !== 'none') ? ('<img src="' + encodeUrlParam(params["logo"]) + '" class="loader-logo" />') : '') : null,
|
||||
directUrl = params["directUrl"] ? encodeUrlParam(params["directUrl"]) : null,
|
||||
url = params["url"] ? encodeUrlParam(params["url"]) : null,
|
||||
fileKey = params["key"] || '',
|
||||
token = params["token"] || '',
|
||||
isForm = params["isForm"];
|
||||
|
||||
window.frameEditorId = params["frameEditorId"];
|
||||
@ -342,7 +338,7 @@
|
||||
document.body.appendChild(script);
|
||||
}
|
||||
if (isForm===undefined) {
|
||||
checkExtendedPDF(directUrl, fileKey, url, token, function (isform) {
|
||||
listenApiMsg(function (isform) {
|
||||
window.isPDFForm = !!isform;
|
||||
startApp();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user