Fix #790: Show a confirm message when the role of a membership is updated

stable
David Barragán Merino 2014-09-04 09:25:47 +02:00
parent ea53e08a21
commit 97c24881ed
1 changed files with 2 additions and 1 deletions

View File

@ -351,7 +351,8 @@ MembershipsRowRoleSelectorDirective = ($log, $repo, $confirm) ->
html = render(member)
$el.on "click", "select", (event) =>
onSuccess = null
onSuccess = ->
$confirm.notify("success")
onError = ->
$confirm.notify("error")