Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Editions in PR

Ilya Daynatovich62713bf87cac
diff --git a/modules/UI/invite/Invite.js b/modules/UI/invite/Invite.js
index 7cc821e014..7a786b9fa5 100644
--- a/modules/UI/invite/Invite.js
+++ b/modules/UI/invite/Invite.js
@@ -68,7 +68,7 @@ class Invite {
// will be marked as locked.
if (!pass)
this.setLockedFromElsewhere(false);
- this.conference.join(roomLocker.password);
+ this.conference.join(pass);
});
});
}
diff --git a/modules/UI/invite/RequirePasswordDialog.js b/modules/UI/invite/RequirePasswordDialog.js
index 0dcdf82404..be612d3e0b 100644
--- a/modules/UI/invite/RequirePasswordDialog.js
+++ b/modules/UI/invite/RequirePasswordDialog.js
@@ -76,7 +76,7 @@ export default class RequirePasswordDialog {
let submitFunction = this._submitFunction.bind(this);
let closeFunction = this._closeFunction.bind(this);
- APP.UI.messageHandler.openTwoButtonDialog({
+ this._dialog = APP.UI.messageHandler.openTwoButtonDialog({
titleKey,
msgString,
leftButtonKey: "dialog.Ok",
@@ -153,7 +153,9 @@ export default class RequirePasswordDialog {
* Close the dialog
*/
close() {
- APP.UI.messageHandler.closeDialog();
+ if (this._dialog) {
+ this._dialog.close();
+ }
this.isOpened = false;
}
}
\ No newline at end of file
diff --git a/modules/UI/util/MessageHandler.js b/modules/UI/util/MessageHandler.js
index 2f63abbf4b..e52c5fa604 100644
--- a/modules/UI/util/MessageHandler.js
+++ b/modules/UI/util/MessageHandler.js
@@ -338,13 +338,6 @@ var messageHandler = {
};
},
- /**
- * Closes currently opened dialog.
- */
- closeDialog: function () {
- $.prompt.close();
- },
-
/**
* Shows a dialog with different states to the user.
*