|
|
@ -1725,7 +1725,7 @@ define([
|
|
|
|
bytes64 = _bytes;
|
|
|
|
bytes64 = _bytes;
|
|
|
|
}));
|
|
|
|
}));
|
|
|
|
}).nThen(function (waitFor) {
|
|
|
|
}).nThen(function (waitFor) {
|
|
|
|
$(linkSpinText).text('Add invite link to team'); // XXX
|
|
|
|
$(linkSpinText).text(Messages.team_inviteLinkAdding); // XXX
|
|
|
|
module.execCommand('CREATE_INVITE_LINK', {
|
|
|
|
module.execCommand('CREATE_INVITE_LINK', {
|
|
|
|
name: name,
|
|
|
|
name: name,
|
|
|
|
password: pw,
|
|
|
|
password: pw,
|
|
|
@ -1755,14 +1755,14 @@ define([
|
|
|
|
keys: [27]
|
|
|
|
keys: [27]
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
className: 'primary cp-teams-invite-create',
|
|
|
|
className: 'primary cp-teams-invite-create',
|
|
|
|
name: 'CREATE LINK', // XXX
|
|
|
|
name: Messages.team_inviteLinkCreate, // XXX
|
|
|
|
onClick: function () {
|
|
|
|
onClick: function () {
|
|
|
|
return process();
|
|
|
|
return process();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
keys: [13]
|
|
|
|
keys: [13]
|
|
|
|
}, {
|
|
|
|
}, {
|
|
|
|
className: 'primary cp-teams-invite-copy',
|
|
|
|
className: 'primary cp-teams-invite-copy',
|
|
|
|
name: 'COPY LINK', // XXX
|
|
|
|
name: Messages.team_inviteLinkCopy, // XXX
|
|
|
|
onClick: function () {
|
|
|
|
onClick: function () {
|
|
|
|
if (!href) { return; }
|
|
|
|
if (!href) { return; }
|
|
|
|
var success = Clipboard.copy(href);
|
|
|
|
var success = Clipboard.copy(href);
|
|
|
|