Commit f6b69eab by polesye

Merge pull request #1513 from edx/anton/word-cloud-total-count-in-studio-bug

Anton/word cloud total count in studio bug
parents 944c4336 23590102
......@@ -239,6 +239,7 @@ define('WordCloudMain', ['logme'], function (logme) {
cloudSectionEl
.addClass('active')
.find('.your_words').html(studentWordsStr)
.end()
.find('.total_num_words').html(response.total_count);
$(cloudSectionEl.attr('id') + ' .word_cloud').empty();
......@@ -282,7 +283,7 @@ define('WordCloudMain', ['logme'], function (logme) {
.attr('transform', function (d) {
return 'translate(' + [d.x, d.y] + ')rotate(' + d.rotate + ')scale(' + scale + ')';
})
.text(function (d) {
.text(function (d) {
return d.text;
});
}; // End-of: WordCloudMain.prototype.drawWordCloud = function (words, bounds) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment