mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Merge pull request #1075 from lemondevxyz/fix-issue-1073
add " (copy)" to copied OpenOffice files
This commit is contained in:
commit
3fca0bac53
@ -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':
|
||||
|
||||
Loading…
Reference in New Issue
Block a user