From 23f431cc5e6d5872fc532cc645046043731eac0c Mon Sep 17 00:00:00 2001 From: anazaryan Date: Mon, 16 Dec 2024 20:06:12 +0400 Subject: [PATCH] fix send worker popup --- public/css/style_may2024.css | 4 ++++ resources/views/modals/send_worker.blade.php | 9 ++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/public/css/style_may2024.css b/public/css/style_may2024.css index 052a138..a0fc30f 100644 --- a/public/css/style_may2024.css +++ b/public/css/style_may2024.css @@ -9814,3 +9814,7 @@ nav .drop-down.closed { } .select select {display: none;} + +.d-none { + display: none; +} diff --git a/resources/views/modals/send_worker.blade.php b/resources/views/modals/send_worker.blade.php index fcebe86..9300946 100644 --- a/resources/views/modals/send_worker.blade.php +++ b/resources/views/modals/send_worker.blade.php @@ -7,9 +7,8 @@ $(document).on('change', '#btn_send_file', function() { let dirArray = $(this).val().split('\\') - console.log(dirArray) $('#send_name_file3').html(dirArray[dirArray.length - 1]) - console.log($('#send_name_file3').html()) + $.fancybox.getInstance().current.$content.find('#div_file').removeClass('d-none') });