Browse Source

Fix the tests

master
Ilya Daynatovich 8 years ago
parent
commit
2b08950294
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      modules/UI/util/MessageHandler.js

+ 2
- 2
modules/UI/util/MessageHandler.js View File

@@ -126,7 +126,7 @@ var messageHandler = {
126 126
         if (!popupEnabled)
127 127
             return null;
128 128
 
129
-        let dialog = $.prompt(
129
+        let dialog = new Impromptu(
130 130
             APP.translation.generateTranslationHTML(messageKey, i18nOptions), {
131 131
             title: this._getFormattedTitleString(titleKey),
132 132
             persistent: false,
@@ -218,7 +218,7 @@ var messageHandler = {
218 218
             classes.prompt += ` ${wrapperClass}`;
219 219
         }
220 220
 
221
-        twoButtonDialog = $.prompt(message, {
221
+        twoButtonDialog = new Impromptu(message, {
222 222
             title: this._getFormattedTitleString(titleKey),
223 223
             persistent: false,
224 224
             buttons: buttons,

Loading…
Cancel
Save