mirror of https://github.com/xwiki-labs/cryptpad
Display error message when trying to use an invitation link a second time
This commit is contained in:
parent
0dc4a1d890
commit
aca9ddca06
|
@ -1137,7 +1137,11 @@ define([
|
|||
$divLink.append(content);
|
||||
}, true);
|
||||
}
|
||||
return;
|
||||
}
|
||||
$(errorBlock).text(Messages.team_inviteInvalidLinkError).show();
|
||||
$(div).empty();
|
||||
$inviteDiv.empty();
|
||||
return;
|
||||
}
|
||||
// No error: join successful!
|
||||
|
|
Loading…
Reference in New Issue