mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Make sure users are fully connected when responding to a form
This commit is contained in:
parent
7653850274
commit
ba1e72711a
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user