From feaa4239d366f3d6a3d5a795902dd72c014d0f75 Mon Sep 17 00:00:00 2001 From: cinnaboot Date: Thu, 2 Apr 2020 21:47:45 -0400 Subject: [PATCH] remove and extra click after doing "submitFileMapping()" --- video_metadata/static/file_listing.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/video_metadata/static/file_listing.js b/video_metadata/static/file_listing.js index 4582e07..e62ce09 100644 --- a/video_metadata/static/file_listing.js +++ b/video_metadata/static/file_listing.js @@ -164,8 +164,10 @@ async function submitFileMapping(click_event, detail_id, rel_path, element) { window.setTimeout(function() { body.removeChild(document.querySelector('.success_container')); }, 500); - // NOTE: update the displayed link class + + // NOTE: update the displayed link class and display the blurb element.className = 'file_stored'; + openInfoCard(element.dataset, element); } }