diff --git a/resources/views/profile/index.twig b/resources/views/profile/index.twig index da702d0662..c3d6b3f01f 100644 --- a/resources/views/profile/index.twig +++ b/resources/views/profile/index.twig @@ -156,7 +156,7 @@

@@ -178,29 +178,29 @@

{{ 'automation'|_ }}

@@ -209,17 +209,17 @@
@@ -231,28 +231,28 @@

{{ 'accounts'|_ }}

@@ -270,28 +270,28 @@ -

{{ 'transactions'|_ }}

+

{{ 'transactions'|_ }}

@@ -310,6 +310,9 @@ var confirmText = '{{ trans('firefly.are_you_sure')|escape('js') }}'; $(document).ready(function () { $('.confirm').on('click', function (e) { + if(!confirm(confirmText)) { + return false; + } var link = $(e.currentTarget); var classes = link.find('i').attr('class'); var url = deleteAPIRoute + '?objects=' + link.data('type');