Fix the settings app to allow backup for unregistered users

This commit is contained in:
yflory
2017-03-08 10:48:09 +01:00
parent f62267f8a1
commit 4206382865
7 changed files with 168 additions and 36 deletions

View File

@@ -131,9 +131,10 @@ define([
};
var onReady = function (f, proxy, Cryptpad, exp) {
var fo = FO.init(proxy.drive, {
var fo = exp.fo = FO.init(proxy.drive, {
Cryptpad: Cryptpad
});
//storeObj = proxy;
store = initStore(fo, proxy, exp);
if (typeof(f) === 'function') {