Browse Source

Fixes issue with recording.

j8
hristoterezov 10 years ago
parent
commit
04cfbafc33
3 changed files with 5 additions and 3 deletions
  1. 1
    1
      index.html
  2. 2
    1
      libs/app.bundle.js
  3. 2
    1
      modules/xmpp/recording.js

+ 1
- 1
index.html View File

@@ -19,7 +19,7 @@
19 19
     <script src="libs/popover.js?v=1"></script><!-- bootstrap tooltip lib -->
20 20
     <script src="libs/toastr.js?v=1"></script><!-- notifications lib -->
21 21
     <script src="interface_config.js?v=5"></script>
22
-    <script src="libs/app.bundle.js?v=5"></script>
22
+    <script src="libs/app.bundle.js?v=6"></script>
23 23
 
24 24
     <script src="analytics.js?v=1"></script><!-- google analytics plugin -->
25 25
     <link rel="stylesheet" href="css/font.css?v=6"/>

+ 2
- 1
libs/app.bundle.js View File

@@ -14436,11 +14436,12 @@ var Recording = {
14436 14436
             return;
14437 14437
         }
14438 14438
 
14439
+        var self = this;
14439 14440
         // Jirecon does not (currently) support a token.
14440 14441
         if (!recordingToken && !useJirecon) {
14441 14442
             tokenEmptyCallback(function (value) {
14442 14443
                 setRecordingToken(value);
14443
-                this.toggleRecording();
14444
+                self.toggleRecording();
14444 14445
             });
14445 14446
 
14446 14447
             return;

+ 2
- 1
modules/xmpp/recording.js View File

@@ -103,11 +103,12 @@ var Recording = {
103 103
             return;
104 104
         }
105 105
 
106
+        var self = this;
106 107
         // Jirecon does not (currently) support a token.
107 108
         if (!recordingToken && !useJirecon) {
108 109
             tokenEmptyCallback(function (value) {
109 110
                 setRecordingToken(value);
110
-                this.toggleRecording();
111
+                self.toggleRecording();
111 112
             });
112 113
 
113 114
             return;

Loading…
Cancel
Save