Skip to content

Commit

Permalink
Merge pull request #1144 from mcneilco/ACAS-318
Browse files Browse the repository at this point in the history
ACAS-318: Delete file on Load another
  • Loading branch information
brianbolt authored Feb 29, 2024
2 parents 74f1109 + 0380e1d commit 84876c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/Components/src/client/BasicFileValidateAndSave.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 84876c6

Please sign in to comment.