Fix not-working team memebership permissions change

This commit is contained in:
Dmitriy Zaporozhets 2013-02-18 16:40:11 +02:00
parent 1481d1cfe0
commit 97de6f851b
3 changed files with 28 additions and 21 deletions

View file

@ -49,6 +49,10 @@ $ ->
# Bottom tooltip
$('.has_bottom_tooltip').tooltip(placement: 'bottom')
# Form submitter
$('.trigger-submit').on 'change', ->
$(@).parents('form').submit()
# Flash
if (flash = $("#flash-container")).length > 0
flash.click -> $(@).slideUp("slow")