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
Removes title param from openTwoButtonDialog.
damenchof0ac52614b4d
diff --git a/modules/UI/UI.js b/modules/UI/UI.jsindex da6b3d0d1c..56db454f29 100644--- a/modules/UI/UI.js+++ b/modules/UI/UI.js@@ -770,7 +770,6 @@ UI.connectionIndicatorShowMore = function(id) {UI.showLoginPopup = function(callback) {console.log('password is required');let titleKey = "dialog.passwordRequired";- let titleString = APP.translation.translateString(titleKey);let message = (`<input name="username" type="text"@@ -790,7 +789,6 @@ UI.showLoginPopup = function(callback) {messageHandler.openTwoButtonDialog({titleKey,- titleString,msgString: message,leftButtonKey: 'dialog.Ok',submitFunction,@@ -1242,7 +1240,6 @@ UI.showExtensionExternalInstallationDialog = function (url) {messageHandler.openTwoButtonDialog({titleKey: 'dialog.externalInstallationTitle',- titleString: '',msgKey: 'dialog.externalInstallationMsg',msgString: '',leftButtonKey: 'dialog.goToStore',diff --git a/modules/UI/toolbars/Toolbar.js b/modules/UI/toolbars/Toolbar.jsindex 3d346b1632..59e93b106c 100644--- a/modules/UI/toolbars/Toolbar.js+++ b/modules/UI/toolbars/Toolbar.js@@ -279,7 +279,6 @@ function showSipNumberInput () {? config.defaultSipNumber: '';let titleKey = "dialog.sipMsg";- let sipMsg = APP.translation.generateTranslationHTML("dialog.sipMsg");let msgString = (`<input name="sipNumber" type="text"value="${defaultNumber}" autofocus>@@ -287,7 +286,6 @@ function showSipNumberInput () {APP.UI.messageHandler.openTwoButtonDialog({titleKey,- titleString: sipMsg,msgString,leftButtonKey: "dialog.Dial",submitFunction: function (e, v, m, f) {diff --git a/modules/UI/util/MessageHandler.js b/modules/UI/util/MessageHandler.jsindex 6955c16e4f..f5b4b25726 100644--- a/modules/UI/util/MessageHandler.js+++ b/modules/UI/util/MessageHandler.js@@ -61,7 +61,7 @@ var messageHandler = {* Shows a message to the user with two buttons: first is given as a* parameter and the second is Cancel.*- * @param titleString the title of the message+ * @param titleKey the key for the title of the message* @param msgString the text of the message* @param persistent boolean value which determines whether the message is* persistent or not@@ -79,7 +79,6 @@ var messageHandler = {openTwoButtonDialog: function(options) {let {titleKey,- titleString,msgKey,msgString,leftButtonKey,@@ -107,10 +106,8 @@ var messageHandler = {= APP.translation.generateTranslationHTML("dialog.Cancel");buttons.push({title: cancelButton, value: false});- var message = msgString, title = titleString;- if (titleKey) {- title = APP.translation.generateTranslationHTML(titleKey);- }+ var message = msgString;+ var title = APP.translation.generateTranslationHTML(titleKey);if (msgKey) {message = APP.translation.generateTranslationHTML(msgKey);}