Issue #2705-Deleting a role never hides the lightbox
parent
036b42ca98
commit
ad29aa73ca
|
@ -128,7 +128,7 @@ class RolesController extends mixOf(taiga.Controller, taiga.PageMixin, taiga.Fil
|
||||||
replacement = @translate.instant("ADMIN.ROLES.REPLACEMENT_ROLE")
|
replacement = @translate.instant("ADMIN.ROLES.REPLACEMENT_ROLE")
|
||||||
warning = @translate.instant("ADMIN.ROLES.WARNING_DELETE_ROLE")
|
warning = @translate.instant("ADMIN.ROLES.WARNING_DELETE_ROLE")
|
||||||
return @confirm.askChoice(title, subtitle, choices, replacement, warning).then (response) =>
|
return @confirm.askChoice(title, subtitle, choices, replacement, warning).then (response) =>
|
||||||
onSuccess = (response)=>
|
onSuccess = =>
|
||||||
@.loadProject()
|
@.loadProject()
|
||||||
@.loadRoles().finally =>
|
@.loadRoles().finally =>
|
||||||
response.finish()
|
response.finish()
|
||||||
|
|
Loading…
Reference in New Issue