From 6063f57cc94c2480450f034633f05d09890a8812 Mon Sep 17 00:00:00 2001 From: Zambom Date: Tue, 7 Mar 2017 22:04:02 -0300 Subject: [PATCH] Adjusting mural comment without text error --- amadeus/static/js/mural.js | 2 +- goals/views.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/amadeus/static/js/mural.js b/amadeus/static/js/mural.js index 3f6921f..8f8fb50 100644 --- a/amadeus/static/js/mural.js +++ b/amadeus/static/js/mural.js @@ -242,7 +242,7 @@ function setCommentFormSubmit(post, comment = "") { }, error: function(data) { $("#post-modal-form").html(data.responseText); - setPostFormSubmit(post, comment); + setCommentFormSubmit(post, comment); }, cache: false, contentType: false, diff --git a/goals/views.py b/goals/views.py index 25951ec..0d4a3d1 100644 --- a/goals/views.py +++ b/goals/views.py @@ -25,6 +25,7 @@ class AnsweredReport(LoginRequiredMixin, generic.ListView): template_name = 'goals/reports.html' model = MyGoals context_object_name = 'answered' + totals = {} def get_queryset(self): slug = self.kwargs.get('slug', '') -- libgit2 0.21.2