Fixes issue #70 - Invite others reports null when pressed too early.
This commit is contained in:
parent
e6aba30c09
commit
4d0c74879a
6
app.js
6
app.js
|
@ -1213,7 +1213,6 @@ function buttonClick(id, classname) {
|
||||||
* @param messageString the text of the message
|
* @param messageString the text of the message
|
||||||
*/
|
*/
|
||||||
function openMessageDialog(titleString, messageString) {
|
function openMessageDialog(titleString, messageString) {
|
||||||
console.log("OPEN MESSAGE DIALOG");
|
|
||||||
$.prompt(messageString,
|
$.prompt(messageString,
|
||||||
{
|
{
|
||||||
title: titleString,
|
title: titleString,
|
||||||
|
@ -1288,6 +1287,11 @@ function openLockDialog() {
|
||||||
* Opens the invite link dialog.
|
* Opens the invite link dialog.
|
||||||
*/
|
*/
|
||||||
function openLinkDialog() {
|
function openLinkDialog() {
|
||||||
|
if (roomUrl == null)
|
||||||
|
openMessageDialog( "Invite others",
|
||||||
|
"Your conference is currently being created."
|
||||||
|
+ " Please try again in a few seconds.");
|
||||||
|
else
|
||||||
$.prompt('<input id="inviteLinkRef" type="text" value="' +
|
$.prompt('<input id="inviteLinkRef" type="text" value="' +
|
||||||
encodeURI(roomUrl) + '" onclick="this.select();" readonly>',
|
encodeURI(roomUrl) + '" onclick="this.select();" readonly>',
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue