VRFS-1437 fix bug
This commit is contained in:
parent
73f819511e
commit
5784c26089
|
|
@ -4,6 +4,7 @@
|
|||
var logger = context.JK.logger;
|
||||
var rest = new JK.Rest();
|
||||
var sessionId = null;
|
||||
var $scope = $(".landing-details");
|
||||
var $controls = null;
|
||||
var $status = null;
|
||||
var playing = false;
|
||||
|
|
@ -137,6 +138,7 @@
|
|||
rest.getSessionHistory(musicSessionId)
|
||||
.done(function(response) {
|
||||
if (response && response.comments) {
|
||||
console.log("%o", response.comment_count);
|
||||
$("#spnCommentCount", $scope).html(response.comment_count);
|
||||
$.each(response.comments, function(index, val) {
|
||||
renderComment(val.comment, val.creator.id, val.creator.name,
|
||||
|
|
|
|||
Loading…
Reference in New Issue