Browse Source

Merge pull request #288 from jitsi/fix_callstats_feedback

Fixes callstats feedback
dev1
Дамян Минков 9 years ago
parent
commit
73d85962fc
1 changed files with 5 additions and 6 deletions
  1. 5
    6
      modules/statistics/CallStats.js

+ 5
- 6
modules/statistics/CallStats.js View File

411
         return;
411
         return;
412
     }
412
     }
413
 
413
 
414
-    var feedbackString =    '{"userID":"' + this.userID + '"' +
415
-                            ', "overall":' + overallFeedback +
416
-                            ', "comment": "' + detailedFeedback + '"}';
417
-    var feedbackJSON = JSON.parse(feedbackString);
418
-
419
-    callStats.sendUserFeedback(this.confID, feedbackJSON);
414
+    callStats.sendUserFeedback(this.confID, {
415
+        userID: this.userID,
416
+        overall: overallFeedback,
417
+        comment: detailedFeedback
418
+    });
420
 });
419
 });
421
 
420
 
422
 /**
421
 /**

Loading…
Cancel
Save