From 0380e1d41e548d0d9afb33c2518ef419ab308c89 Mon Sep 17 00:00:00 2001 From: Brian Bolt Date: Thu, 29 Feb 2024 12:22:45 -0800 Subject: [PATCH] ACAS-318: Delete file on Load another --- modules/Components/src/client/BasicFileValidateAndSave.coffee | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/Components/src/client/BasicFileValidateAndSave.coffee b/modules/Components/src/client/BasicFileValidateAndSave.coffee index a0fb43e32..d81c72089 100644 --- a/modules/Components/src/client/BasicFileValidateAndSave.coffee +++ b/modules/Components/src/client/BasicFileValidateAndSave.coffee @@ -219,7 +219,9 @@ class BasicFileValidateAndSaveController extends Backbone.View @showFileSelectPhase() loadAnother: => + #TODO This is bad style, but the LSFileInputController has no API for deleting and resetting @showFileSelectPhase() + @$('.bv_deleteFile').click() showFileSelectPhase: -> @$('.bv_resultStatus').hide()