Creation page with mobile support

This commit is contained in:
yflory
2017-12-11 12:19:44 +01:00
parent e96d54e655
commit 1922dbfd75
5 changed files with 280 additions and 56 deletions

View File

@@ -186,7 +186,8 @@ define([
donateURL: Cryptpad.donateURL,
upgradeURL: Cryptpad.upgradeURL
},
isNewFile: isNewFile
isNewFile: isNewFile,
isDeleted: window.location.hash.length > 0
};
for (var k in additionalPriv) { metaObj.priv[k] = additionalPriv[k]; }
@@ -620,6 +621,9 @@ define([
if (data.owned) {
//rtConfig.owners = [edPublic];
}
if (data.expire) {
//rtConfig.expire = data.expire;
}
if (data.template) {
// Pass rtConfig to useTemplate because Cryptput will create the file and