From cef84ef74f41dee49a250844968d280d4bf33f94 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 3 Apr 2018 10:13:37 +0200 Subject: [PATCH] Improved UX for destroy confirm dialog. --- .../app/controllers/_application_controller_generic.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/_application_controller_generic.coffee b/app/assets/javascripts/app/controllers/_application_controller_generic.coffee index f78f78fd0..b827f52c2 100644 --- a/app/assets/javascripts/app/controllers/_application_controller_generic.coffee +++ b/app/assets/javascripts/app/controllers/_application_controller_generic.coffee @@ -279,7 +279,7 @@ class App.ControllerModalLoading extends App.Controller class App.ControllerGenericDestroyConfirm extends App.ControllerModal buttonClose: true buttonCancel: true - buttonSubmit: 'yes' + buttonSubmit: 'delete' buttonClass: 'btn--danger' head: 'Confirm' small: true