Editions in PR

pull/1055/head
Ilya Daynatovich 8 years ago
parent 7a2eca3706
commit 62713bf87c
  1. 2
      modules/UI/invite/Invite.js
  2. 6
      modules/UI/invite/RequirePasswordDialog.js
  3. 7
      modules/UI/util/MessageHandler.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);
});
});
}

@ -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;
}
}

@ -338,13 +338,6 @@ var messageHandler = {
};
},
/**
* Closes currently opened dialog.
*/
closeDialog: function () {
$.prompt.close();
},
/**
* Shows a dialog with different states to the user.
*

Loading…
Cancel
Save