Просмотр исходного кода

Merge pull request #1142 from jitsi/fix-ff-desktop-sharing-message

fix: Firefox desktop sharing extension required dialog
master
Дамян Минков 8 лет назад
Родитель
Сommit
a5f243e18d
3 измененных файлов: 4 добавлений и 3 удалений
  1. 1
    1
      modules/UI/UI.js
  2. 1
    1
      modules/UI/authentication/LoginDialog.js
  3. 2
    1
      modules/UI/util/MessageHandler.js

+ 1
- 1
modules/UI/UI.js Просмотреть файл

@@ -1179,7 +1179,7 @@ UI.getLargeVideo = function () {
1179 1179
 UI.showExtensionRequiredDialog = function (url) {
1180 1180
     messageHandler.openMessageDialog(
1181 1181
         "dialog.extensionRequired",
1182
-        "dialog.firefoxExtensionPrompt",
1182
+        "[html]dialog.firefoxExtensionPrompt",
1183 1183
         {url: url});
1184 1184
 };
1185 1185
 

+ 1
- 1
modules/UI/authentication/LoginDialog.js Просмотреть файл

@@ -206,7 +206,7 @@ export default {
206 206
      */
207 207
     showAuthRequiredDialog: function (roomName, onAuthNow) {
208 208
         var msg = APP.translation.generateTranslationHTML(
209
-            "dialog.WaitForHostMsg", {room: roomName}
209
+            "[html]dialog.WaitForHostMsg", {room: roomName}
210 210
         );
211 211
 
212 212
         var buttonTxt = APP.translation.generateTranslationHTML(

+ 2
- 1
modules/UI/util/MessageHandler.js Просмотреть файл

@@ -127,7 +127,8 @@ var messageHandler = {
127 127
             return null;
128 128
 
129 129
         let dialog = $.prompt(
130
-            APP.translation.generateTranslationHTML(messageKey, i18nOptions), {
130
+            APP.translation.generateTranslationHTML(messageKey, i18nOptions),
131
+            {
131 132
             title: this._getFormattedTitleString(titleKey),
132 133
             persistent: false,
133 134
             promptspeed: 0,

Загрузка…
Отмена
Сохранить