Make sure users are fully connected when responding to a form

This commit is contained in:
yflory 2025-06-27 16:29:38 +02:00
parent 7653850274
commit ba1e72711a

View File

@ -7,8 +7,9 @@ define([
'/components/nthen/index.js',
'/api/config',
'/common/dom-ready.js',
'/common/common-hash.js',
'/common/sframe-common-outer.js',
], function (nThen, ApiConfig, DomReady, SFCommonO) {
], function (nThen, ApiConfig, DomReady, Hash, SFCommonO) {
var href, hash;
// Loaded in load #2
@ -62,11 +63,12 @@ define([
});
});
};
const parsed = Hash.parsePadUrl(href);
SFCommonO.start({
addData: addData,
addRpc: addRpc,
//cache: true,
noDrive: true,
noDrive: parsed?.hashData?.mode !== "view",
hash: hash,
href: href,
useCreationScreen: true,