add button keys
This commit is contained in:
parent
01e7ec7e88
commit
71da3ed723
@ -29,7 +29,7 @@
|
|||||||
color: @cryptpad_text_col;
|
color: @cryptpad_text_col;
|
||||||
}
|
}
|
||||||
|
|
||||||
// teams invite modal
|
// teams invite modal
|
||||||
.cp-teams-invite-block {
|
.cp-teams-invite-block {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
@ -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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user