Merge branch 'main' into soon

This commit is contained in:
yflory 2023-07-18 11:45:34 +02:00
commit 9259881c19
2 changed files with 7 additions and 0 deletions

View File

@ -85,6 +85,7 @@ body:
label: Version
description: What version of CryptPad are you running?
options:
- 5.4-rc
- 5.3.0
- 5.2.1
- 5.2.0

View File

@ -241,6 +241,12 @@ define([
type = APP.downloadType;
title = "download";
}
if(title === "" && APP.startWithTemplate) {
var metadata = APP.startWithTemplate.content.metadata;
var copyTitle = Messages._getKey('copy_title', [metadata.title || metadata.defaultTitle]);
common.getMetadataMgr().updateTitle(copyTitle);
title = copyTitle;
}
var file = {};
switch(type) {
case 'doc':