瀏覽代碼

fix(Recording): broken stop recording dialog

j8
paweldomas 8 年之前
父節點
當前提交
739e2bd35a
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1
    1
      modules/UI/recording/Recording.js
  2. 1
    0
      modules/UI/util/MessageHandler.js

+ 1
- 1
modules/UI/recording/Recording.js 查看文件

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

+ 1
- 0
modules/UI/util/MessageHandler.js 查看文件

@@ -59,6 +59,7 @@ var messageHandler = {
59 59
      * parameter and the second is Cancel.
60 60
      *
61 61
      * @param titleKey the key for the title of the message
62
+     * @param msgKey the key for the message
62 63
      * @param msgString the text of the message
63 64
      * @param persistent boolean value which determines whether the message is
64 65
      *        persistent or not

Loading…
取消
儲存