fix(Recording): broken stop recording dialog

This commit is contained in:
paweldomas 2016-10-26 16:08:55 -05:00
parent 64112e00e6
commit 739e2bd35a
2 changed files with 2 additions and 1 deletions

View File

@ -170,7 +170,7 @@ function _showStopRecordingPrompt (recordingType) {
return new Promise(function (resolve, reject) { return new Promise(function (resolve, reject) {
dialog = APP.UI.messageHandler.openTwoButtonDialog({ dialog = APP.UI.messageHandler.openTwoButtonDialog({
titleKey: title, titleKey: title,
messageKey: message, msgKey: message,
leftButtonKey: buttonKey, leftButtonKey: buttonKey,
submitFunction: function(e,v) { submitFunction: function(e,v) {
if (v) { if (v) {

View File

@ -59,6 +59,7 @@ var messageHandler = {
* parameter and the second is Cancel. * parameter and the second is Cancel.
* *
* @param titleKey the key for the title of the message * @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 msgString the text of the message
* @param persistent boolean value which determines whether the message is * @param persistent boolean value which determines whether the message is
* persistent or not * persistent or not