Issue #2705-Deleting a role never hides the lightbox

stable
Alejandro Alonso 2015-05-20 10:58:11 +02:00
parent 036b42ca98
commit ad29aa73ca
1 changed files with 1 additions and 1 deletions

View File

@ -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()