Comments showing separately for shots too.

This commit is contained in:
2016-11-03 12:33:37 +01:00
parent ff0951768e
commit 30e0812648

View File

@@ -117,7 +117,7 @@ script.
var activities_url = "{{ url_for('.activities', project_url=project.url, shot_id=shot['_id']) }}";
loadActivities(activities_url); // from 10_tasks.js
loadComments("{{ url_for('nodes.commentform_for_node', node_id=shot['_id']) }}");
loadComments("{{ url_for('nodes.comments_for_node', node_id=shot['_id']) }}");
$('body').on('pillar:comment-posted', function(e, comment_node_id) {
loadActivities(activities_url)