Improved UX for destroy confirm dialog.

This commit is contained in:
Martin Edenhofer 2018-04-03 10:13:37 +02:00
parent 0c917e13aa
commit cef84ef74f

View file

@ -279,7 +279,7 @@ class App.ControllerModalLoading extends App.Controller
class App.ControllerGenericDestroyConfirm extends App.ControllerModal class App.ControllerGenericDestroyConfirm extends App.ControllerModal
buttonClose: true buttonClose: true
buttonCancel: true buttonCancel: true
buttonSubmit: 'yes' buttonSubmit: 'delete'
buttonClass: 'btn--danger' buttonClass: 'btn--danger'
head: 'Confirm' head: 'Confirm'
small: true small: true