fix creation of personal todo list

This commit is contained in:
ansuz 2017-11-27 11:09:28 +01:00
parent 3ff0eb116b
commit 71cf3a4ddf

View File

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