Skip to content

Commit

Permalink
Hide ‘Invite another participant’ for invited participants
Browse files Browse the repository at this point in the history
Previously, this form would be displayed but not work.
Thanks to Lou for noticing.
  • Loading branch information
sander committed Mar 11, 2012
1 parent b729400 commit 4de5722
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plapp/static/script/overview.js
Expand Up @@ -333,7 +333,8 @@ $(function() {
if (data.people.length == 1) if (data.people.length == 1)
$('.email-addresses textarea').attr('disabled', true); $('.email-addresses textarea').attr('disabled', true);
} else } else
$('.resend-invitations, .email-addresses').css('display', 'none'); $('.resend-invitations, .email-addresses, .invite-participant')
.css('display', 'none');


$('.tools form').submit(function() { $('.tools form').submit(function() {
var form = this; var form = this;
Expand Down

0 comments on commit 4de5722

Please sign in to comment.