From 395f6e1b27c91a0f4617438e8d4f88e40c5d1251 Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 4 Aug 2017 15:54:15 +0200 Subject: [PATCH] reset confirm text for alertify --- www/common/common-interface.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/www/common/common-interface.js b/www/common/common-interface.js index 329a458d0..d7d0b46d6 100644 --- a/www/common/common-interface.js +++ b/www/common/common-interface.js @@ -56,10 +56,12 @@ define([ findOKButton().click(); }; var keyHandler = listenForKeys(close, close); - Alertify.alert(msg, function (ev) { - cb(ev); - stopListening(keyHandler); - }); + Alertify + .okBtn(Messages.okButton || 'OK') + .alert(msg, function (ev) { + cb(ev); + stopListening(keyHandler); + }); window.setTimeout(function () { findOKButton().focus(); });