Merge branch 'fileManager' of github.com:xwiki-labs/cryptpad into test-filemanager
commit
5d335ba796
|
@ -185,6 +185,7 @@ define([
|
|||
secret.key = Crypto.createEditCryptor().editKeyStr;
|
||||
} else {
|
||||
var hash = secretHash || window.location.hash.slice(1);
|
||||
console.log(hash);
|
||||
if (hash.length === 0) {
|
||||
secret.keys = Crypto.createEditCryptor();
|
||||
secret.key = Crypto.createEditCryptor().editKeyStr;
|
||||
|
|
|
@ -19,7 +19,7 @@ define([
|
|||
var $iframe = $('#pad-iframe').contents();
|
||||
var ifrw = $('#pad-iframe')[0].contentWindow;
|
||||
|
||||
var hash = window.location.hash || localStorage.FS_hash;
|
||||
var hash = window.location.hash.slice(1) || localStorage.FS_hash;
|
||||
var secret = Cryptpad.getSecrets(hash);
|
||||
|
||||
var ROOT = "root";
|
||||
|
|
Loading…
Reference in New Issue