Make sure nested document actions open in new tab, same as others.

This commit is contained in:
nathangray 2021-07-05 09:46:00 -06:00 committed by Ralf Becker
parent ba2ac61546
commit 867b539c18

View File

@ -2165,7 +2165,8 @@ abstract class Merge
'icon' => Api\Vfs::mime_icon($file['mime']), 'icon' => Api\Vfs::mime_icon($file['mime']),
'caption' => Api\Vfs::decodePath($name_arr[$count]), 'caption' => Api\Vfs::decodePath($name_arr[$count]),
'group' => 2, '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)) 'url' => urldecode(http_build_query($edit_attributes))
); );
if ($file['mime'] == 'message/rfc822') if ($file['mime'] == 'message/rfc822')