From 739e2bd35a0e536eca15fa22f171021a0503cdeb Mon Sep 17 00:00:00 2001 From: paweldomas Date: Wed, 26 Oct 2016 16:08:55 -0500 Subject: [PATCH] fix(Recording): broken stop recording dialog --- modules/UI/recording/Recording.js | 2 +- modules/UI/util/MessageHandler.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/UI/recording/Recording.js b/modules/UI/recording/Recording.js index 4b3de1488..af44698c8 100644 --- a/modules/UI/recording/Recording.js +++ b/modules/UI/recording/Recording.js @@ -170,7 +170,7 @@ function _showStopRecordingPrompt (recordingType) { return new Promise(function (resolve, reject) { dialog = APP.UI.messageHandler.openTwoButtonDialog({ titleKey: title, - messageKey: message, + msgKey: message, leftButtonKey: buttonKey, submitFunction: function(e,v) { if (v) { diff --git a/modules/UI/util/MessageHandler.js b/modules/UI/util/MessageHandler.js index fcc3b008e..54c996cea 100644 --- a/modules/UI/util/MessageHandler.js +++ b/modules/UI/util/MessageHandler.js @@ -59,6 +59,7 @@ var messageHandler = { * parameter and the second is Cancel. * * @param titleKey the key for the title of the message + * @param msgKey the key for the message * @param msgString the text of the message * @param persistent boolean value which determines whether the message is * persistent or not