From 3c6f8c102c1495b393ba68844442d48a3b030c26 Mon Sep 17 00:00:00 2001 From: Markos Gogoulos Date: Fri, 9 Jan 2026 13:37:18 +0200 Subject: [PATCH] same window --- templates/cms/add-media.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/templates/cms/add-media.html b/templates/cms/add-media.html index acfabc84..b1caa3b4 100644 --- a/templates/cms/add-media.html +++ b/templates/cms/add-media.html @@ -315,8 +315,7 @@ listEl.addEventListener( 'click', function(ev){ ev.preventDefault(); ev.stopPropagation(); - var win = window.open( fileUrl, '_blank' ); - win.focus(); + window.location.href = fileUrl; }); }