(clientId)
| 1457 | }); |
| 1458 | |
| 1459 | function invite(clientId) { |
| 1460 | require(["who"], function (who) { |
| 1461 | // FIXME: use the return value of this to give a signal that |
| 1462 | // the invite has been successfully sent: |
| 1463 | who.invite(inviteHubUrl(), clientId).then(function () { |
| 1464 | hideMenu(); |
| 1465 | }); |
| 1466 | }); |
| 1467 | } |
| 1468 | |
| 1469 | ui.showUrlChangeMessage = deferForContainer(function (peer, url) { |
| 1470 | var window = templating.sub("url-change", {peer: peer}); |
no test coverage detected