From ad29aa73ca29851bee6b606a252e0f90650b4292 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Wed, 20 May 2015 10:58:11 +0200 Subject: [PATCH] Issue #2705-Deleting a role never hides the lightbox --- app/coffee/modules/admin/roles.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/coffee/modules/admin/roles.coffee b/app/coffee/modules/admin/roles.coffee index 41164ed1..9e3b1669 100644 --- a/app/coffee/modules/admin/roles.coffee +++ b/app/coffee/modules/admin/roles.coffee @@ -128,7 +128,7 @@ class RolesController extends mixOf(taiga.Controller, taiga.PageMixin, taiga.Fil replacement = @translate.instant("ADMIN.ROLES.REPLACEMENT_ROLE") warning = @translate.instant("ADMIN.ROLES.WARNING_DELETE_ROLE") return @confirm.askChoice(title, subtitle, choices, replacement, warning).then (response) => - onSuccess = (response)=> + onSuccess = => @.loadProject() @.loadRoles().finally => response.finish()