From a8080c6bba878478061f637352b34b3f96351e5f Mon Sep 17 00:00:00 2001 From: Athou Date: Sat, 25 May 2013 13:18:10 +0200 Subject: [PATCH] fix delete account button --- src/main/webapp/js/controllers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/webapp/js/controllers.js b/src/main/webapp/js/controllers.js index b906c7c0..ce16fdb5 100644 --- a/src/main/webapp/js/controllers.js +++ b/src/main/webapp/js/controllers.js @@ -950,7 +950,7 @@ function($scope, $location, $dialog, ProfileService, AnalyticsService) { $dialog.messageBox(title, msg, btns).open().then(function(result) { if (result == 'ok') { - ProfileService.deleteAccount(); + ProfileService.deleteAccount({}); window.location.href = 'logout'; } });