From 8f78f23399155d8cac347c22749484c784aa9ca0 Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Fri, 6 Jun 2025 23:33:22 +0400 Subject: feat: preserve original filename option --- public/index.php | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) (limited to 'public/index.php') diff --git a/public/index.php b/public/index.php index 5fefb0f..6232508 100644 --- a/public/index.php +++ b/public/index.php @@ -265,6 +265,12 @@ if (FILE_CATALOG_FANCY_VIEW && $file_id) { + + + + + +
Preserve original filename:
@@ -288,7 +294,6 @@ if (FILE_CATALOG_FANCY_VIEW && $file_id) { // adding deletion button const files = JSON.parse(localStorage.getItem('uploaded_files') ?? '[]'); const file = files.find((x) => x.id === ''); - console.log(file); if (file && file.urls && file.urls.deletion_url) { const buttons = document.getElementById('file-tab-buttons'); buttons.innerHTML = `` + buttons.innerHTML; @@ -296,6 +301,8 @@ if (FILE_CATALOG_FANCY_VIEW && $file_id) { -- cgit v1.2.3