Fix Merge dialog "Save file" button did not actually save the file if one merge document was selected

It opened it in Collabora instead, regardless of which button was clicked
This commit is contained in:
nathan 2024-07-09 08:57:35 -06:00
parent 8920067ac3
commit b4c0ed9edc

View File

@ -867,7 +867,7 @@ export abstract class EgwApp
{
vars.document = document.documents.map(f => f.path);
}
if(document.documents.length == 1 && !document.options.individual)
if(document.documents.length == 1 && !document.options.individual && !document.options.download)
{
// Only 1 document, we can open it
vars.id = JSON.stringify(ids);