Permalink
Browse files

Hide ‘Invite another participant’ for invited participants

Previously, this form would be displayed but not work.
Thanks to Lou for noticing.
  • Loading branch information...
1 parent b729400 commit 4de572226361b75f559a1b1f8a4e65b61f1e1827 @sander committed Mar 11, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 plapp/static/script/overview.js
@@ -333,7 +333,8 @@ $(function() {
if (data.people.length == 1)
$('.email-addresses textarea').attr('disabled', true);
} else
- $('.resend-invitations, .email-addresses').css('display', 'none');
+ $('.resend-invitations, .email-addresses, .invite-participant')
+ .css('display', 'none');
$('.tools form').submit(function() {
var form = this;

0 comments on commit 4de5722

Please sign in to comment.