diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 6c53d91af..648448248 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -1630,7 +1630,7 @@ define([ }); var linkName, linkPassword, linkMessage; - var linKError; + var linkError; // Invite from link var linkContent = h('div.cp-share-modal', [ h('p', 'XXX Invite link description...'), // XXX @@ -1658,8 +1658,10 @@ define([ return true; } var bytes; - nThen(function (waitFor) { + NThen(function (waitFor) { // Scrypt + waitFor()(); // jshint + bytes = bytes; }).nThen(function (waitFor) { module.execCommand('CREATE_INVITE_LINK', { name: name, diff --git a/www/common/outer/team.js b/www/common/outer/team.js index eef9e05cc..e48e5d313 100644 --- a/www/common/outer/team.js +++ b/www/common/outer/team.js @@ -1261,6 +1261,7 @@ define([ var createInviteLink = function (ctx, data, cId, cb) { var team = ctx.teams[data.teamId]; + team = team; // var roster = team.roster; // var name = data.name; // var password = data.password;