From 2b089502944ae3529e9090198f2d544fc1d829a0 Mon Sep 17 00:00:00 2001 From: Ilya Daynatovich Date: Mon, 7 Nov 2016 13:28:34 +0200 Subject: [PATCH] Fix the tests --- modules/UI/util/MessageHandler.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/UI/util/MessageHandler.js b/modules/UI/util/MessageHandler.js index e52c5fa60..5aa67cc90 100644 --- a/modules/UI/util/MessageHandler.js +++ b/modules/UI/util/MessageHandler.js @@ -126,7 +126,7 @@ var messageHandler = { if (!popupEnabled) return null; - let dialog = $.prompt( + let dialog = new Impromptu( APP.translation.generateTranslationHTML(messageKey, i18nOptions), { title: this._getFormattedTitleString(titleKey), persistent: false, @@ -218,7 +218,7 @@ var messageHandler = { classes.prompt += ` ${wrapperClass}`; } - twoButtonDialog = $.prompt(message, { + twoButtonDialog = new Impromptu(message, { title: this._getFormattedTitleString(titleKey), persistent: false, buttons: buttons,