Fix the tests

This commit is contained in:
Ilya Daynatovich
2016-11-07 13:28:34 +02:00
parent 62713bf87c
commit 2b08950294

View File

@@ -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,