Open the file manager of someone else

pull/1/head
yflory 8 years ago
parent c3e3aa69c3
commit 82f3d5f852

@ -169,7 +169,7 @@ define([
isReady: true,
_onReady: [],
onReady: function (handler) {
if (isReady) {
if (appStatus.isReady) {
handler();
return;
}
@ -186,9 +186,6 @@ define([
}
};
var isReady = false;
var removeSelected = function () {
$iframe.find('.selected').removeClass("selected");
};
@ -1376,6 +1373,7 @@ define([
readOnly: false,
validateKey: secret.keys.validateKey || undefined,
crypto: Crypto.createEncryptor(secret.keys),
//logging: true
};
var rt = window.rt = module.rt = Listmap.create(listmapConfig);
@ -1383,7 +1381,7 @@ define([
var realtime = module.realtime = info.realtime;
var editHash = Cryptpad.getEditHashFromKeys(info.channel, secret.keys);
if (!window.location.hash) {
if (!window.location.hash || !localStorage.FS_hash) {
localStorage.FS_hash = editHash;
}

Loading…
Cancel
Save