sul-dlss / happy-heron

Self-Deposit for the Stanford Digital Repository (SDR): H2 is a Rails web application enabling users to deposit scholarly content into SDR
Apache License 2.0
10 stars 2 forks source link

Small fix to a bug when canceling the delete of a draft work #3568

Closed aaron-collier closed 4 days ago

aaron-collier commented 4 days ago

Why was this change made? 🤔

Fixes #3566

With just data->confirm the cancel button still performs the action, this needs to be data->turbo_confirm in order to actually cancel the delete action.

How was this change tested? 🤨

âš¡ âš  If this change involves consuming from or writing to another service (or shared file system), run integration test create_object_h2_spec.rb and/or test manually in [stage|qa] environment, in addition to specs. âš¡

Does your change introduce accessibility violations? 🩺

âš¡ âš  Please ensure this change does not introduce accessibility violations (at the WCAG A or AA conformance levels); if it does, include a rationale. See the Infrastructure accessibility guide for more detail. âš¡