Merge branch 'staging' of github.com:xwiki-labs/cryptpad into merge-staging

pull/1/head
ansuz 7 years ago
commit 77c81f2426

@ -39,6 +39,8 @@ define([
var getSecrets = function (Cryptpad, Utils) { var getSecrets = function (Cryptpad, Utils) {
var proxy = Cryptpad.getProxy(); var proxy = Cryptpad.getProxy();
var hash = proxy.todo || Utils.Hash.createRandomHash(); var hash = proxy.todo || Utils.Hash.createRandomHash();
if (!proxy.todo) { proxy.todo = hash; }
return Utils.Hash.getSecrets('todo', hash); return Utils.Hash.getSecrets('todo', hash);
}; };
SFCommonO.start({ SFCommonO.start({

Loading…
Cancel
Save