From 8390b82b71d1a78ac4379e8a5ec6488fdf69c0c9 Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 9 Jul 2024 08:57:35 -0600 Subject: [PATCH] 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 --- api/js/jsapi/egw_app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/jsapi/egw_app.ts b/api/js/jsapi/egw_app.ts index f2111c577b..a7282ec508 100644 --- a/api/js/jsapi/egw_app.ts +++ b/api/js/jsapi/egw_app.ts @@ -869,7 +869,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);