From a7354da38f1f2eb382a67e594afcdf30ba4fd96b Mon Sep 17 00:00:00 2001 From: ro Date: Wed, 4 Sep 2024 14:52:52 -0600 Subject: [PATCH] remove uploaded files page fixed there was a minor bug that was preventing uploaded files to be removed from the editor page even thought the remove button was pressed. found and fixed --- public/assets/scripts/dash/app/ui/FileManager.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/assets/scripts/dash/app/ui/FileManager.js b/public/assets/scripts/dash/app/ui/FileManager.js index bc7ee04..f0f67a9 100644 --- a/public/assets/scripts/dash/app/ui/FileManager.js +++ b/public/assets/scripts/dash/app/ui/FileManager.js @@ -250,7 +250,8 @@ export default class FileManager { // event handlers //-------------------------- removeFile(e) { - var item = e.target.parentNode.parentNode; + var item = e.target.parentNode; + console.log('ITEM', item); switch (item.className) { case 'img-item': case 'video-item':