Fix tests

This commit is contained in:
yflory
2018-04-10 16:38:31 +02:00
parent e37aab492b
commit e1473dff79
2 changed files with 3 additions and 2 deletions

View File

@@ -170,6 +170,7 @@ define([
// Store
funcs.handleNewFile = function (waitFor) {
if (window.__CRYPTPAD_TEST__) { return; }
var priv = ctx.metadataMgr.getPrivateData();
if (priv.isNewFile) {
var c = (priv.settings.general && priv.settings.general.creation) || {};