PCS with owners and password for spreadsheets

This commit is contained in:
yflory
2019-02-05 15:58:49 +01:00
parent a0049b360a
commit 412670c8a6
8 changed files with 77 additions and 31 deletions

View File

@@ -241,7 +241,7 @@ define([
};
// Store
funcs.handleNewFile = function (waitFor) {
funcs.handleNewFile = function (waitFor, config) {
if (window.__CRYPTPAD_TEST__) { return; }
var priv = ctx.metadataMgr.getPrivateData();
if (priv.isNewFile) {
@@ -262,7 +262,7 @@ define([
return void funcs.createPad(c, waitFor());
}
// If we display the pad creation screen, it will handle deleted pads directly
funcs.getPadCreationScreen(c, waitFor());
funcs.getPadCreationScreen(c, config, waitFor());
}
};
funcs.createPad = function (cfg, cb) {