Remove XXX

pull/1/head
yflory 5 years ago
parent ceb7fc4f66
commit 3bebab57e4

@ -1730,7 +1730,6 @@ define([
bytes64 = _bytes; bytes64 = _bytes;
})); }));
}).nThen(function (waitFor) { }).nThen(function (waitFor) {
$(linkSpinText).text(Messages.team_inviteLinkAdding); // XXX
module.execCommand('CREATE_INVITE_LINK', { module.execCommand('CREATE_INVITE_LINK', {
name: name, name: name,
password: pw, password: pw,

@ -1130,8 +1130,6 @@ define([
}, waitFor(function (obj) { }, waitFor(function (obj) {
if (obj && obj.error) { if (obj && obj.error) {
// Wrong password or other error... // Wrong password or other error...
// XXX if DELETED, password prompt again?
console.error(obj.error);
waitFor.abort(); waitFor.abort();
if (obj.error === 'INVALID_INVITE_CONTENT') { if (obj.error === 'INVALID_INVITE_CONTENT') {
// Wrong password... // Wrong password...

Loading…
Cancel
Save