From b021767ac1327440e04b8863f690c18d40e6ac5e Mon Sep 17 00:00:00 2001 From: nathangray Date: Mon, 5 Jul 2021 09:46:00 -0600 Subject: [PATCH] Make sure nested document actions open in new tab, same as others. --- api/src/Storage/Merge.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/src/Storage/Merge.php b/api/src/Storage/Merge.php index 64c38ce74f..3cf3b840e5 100644 --- a/api/src/Storage/Merge.php +++ b/api/src/Storage/Merge.php @@ -2165,7 +2165,8 @@ abstract class Merge 'icon' => Api\Vfs::mime_icon($file['mime']), 'caption' => Api\Vfs::decodePath($name_arr[$count]), 'group' => 2, - 'postSubmit' => true, // download needs post submit (not Ajax) to work + 'postSubmit' => true, // download needs post submit (not Ajax) to work, + 'target' => '_blank', 'url' => urldecode(http_build_query($edit_attributes)) ); if ($file['mime'] == 'message/rfc822')