@ -1743,10 +1743,10 @@ define([
if (obj && obj.error) {
waitFor.abort();
$(linkSpin).hide();
$(linkForm).show(); // XXX DB: check this is the right place to put things back
$(linkForm).show();
$nav.find('button.cp-teams-invite-create').show();
$nav.find('button.cp-teams-invite-copy').hide();
return void $(linkError).text(Messages.team_inviteLinkError+obj.error).show(); // XXX
return void $(linkError).text(Messages.team_inviteLinkError).show();
}
// Display result here
@ -1173,7 +1173,7 @@ define([
sframeChan.query('Q_ANON_GET_PREVIEW_CONTENT', { seeds: seeds }, waitFor(function (err, json) {
if (json && json.error) {
// err === DELETED: different message?
$(errorBlock).text(Messages.error + json.error).show(); // XXX
$(errorBlock).text(Messages.team_inviteInvalidLinkError).show();
$div.empty();
return;