Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
team: description field cleared when form is displayed
Browse files Browse the repository at this point in the history
Signed-off-by: Vítor Avelino <[email protected]>
  • Loading branch information
vitoravelino committed Feb 22, 2017
1 parent 87162cd commit bd4d9d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/javascripts/teams.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ $(document).ready ->

$('#add_team_btn').on 'click', (event) ->
$('#team_name').val('')
$('#team_description').val('')
$('#add_team_form').toggle 400, "swing", ->
if $('#add_team_form').is(':visible')
$('#add_team_btn i').addClass("fa-minus-circle")
Expand Down

0 comments on commit bd4d9d8

Please sign in to comment.