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 343025dece
commit 8390b82b71

View File

@ -869,7 +869,7 @@ export abstract class EgwApp
{ {
vars.document = document.documents.map(f => f.path); 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 // Only 1 document, we can open it
vars.id = JSON.stringify(ids); vars.id = JSON.stringify(ids);