Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(authentication) fixed close on cancel click
Calin Chitu9d5024cc5d68
diff --git a/react/features/authentication/components/web/LoginDialog.js b/react/features/authentication/components/web/LoginDialog.jsindex fe1c8919ce..4be9661e38 100644--- a/react/features/authentication/components/web/LoginDialog.js+++ b/react/features/authentication/components/web/LoginDialog.js@@ -124,15 +124,8 @@ class LoginDialog extends Component<Props, State> {*/_onCancelLogin() {const { dispatch } = this.props;- const cancelButton = document.getElementById('modal-dialog-cancel-button');- if (cancelButton) {- cancelButton.onclick = () => {- dispatch(cancelLogin());- };- }-- return false;+ dispatch(cancelLogin());}_onLogin: () => void;@@ -252,6 +245,7 @@ class LoginDialog extends Component<Props, State> {return (<Dialog+ disableBlanketClickDismiss = { true }hideCloseIconButton = { true }okDisabled = {connectingdiff --git a/react/features/authentication/components/web/WaitForOwnerDialog.js b/react/features/authentication/components/web/WaitForOwnerDialog.jsindex 1549b284ac..de0d4f51af 100644--- a/react/features/authentication/components/web/WaitForOwnerDialog.js+++ b/react/features/authentication/components/web/WaitForOwnerDialog.js@@ -64,15 +64,8 @@ class WaitForOwnerDialog extends PureComponent<Props> {*/_onCancelWaitForOwner() {const { dispatch } = this.props;- const cancelButton = document.getElementById('modal-dialog-cancel-button');- if (cancelButton) {- cancelButton.onclick = () => {- dispatch(cancelWaitForOwner());- };- }-- return false;+ dispatch(cancelWaitForOwner());}_onIAmHost: () => void;@@ -102,6 +95,7 @@ class WaitForOwnerDialog extends PureComponent<Props> {return (<Dialog+ disableBlanketClickDismiss = { true }hideCloseIconButton = { true }okKey = { t('dialog.IamHost') }onCancel = { this._onCancelWaitForOwner }